I have a shell script that is supposed to change the permission for my WWW folder so that Apache can access them. My current script is

chown apache /var/www/*
chmod 755 /var/www/*

This works fine for /var/www/ but subdirectories of /var/www/ e.g. /var/www/html/ is still owned by samarudge (My FTP user).
How can I change this script so that it automaticaly changes the permisions for the subdirectories for Apache?
Sam Rudge

Thanx that worked like a charm