T Titam Verified User Joined Apr 29, 2005 Messages 168 Aug 17, 2005 #1 Hi, Because i installed suPhp, I need to chmod my directory in 755 (and not 750). I would like to know how to, automatically, chmod public_html of new users in 755 Thanks Titam
Hi, Because i installed suPhp, I need to chmod my directory in 755 (and not 750). I would like to know how to, automatically, chmod public_html of new users in 755 Thanks Titam
T Titam Verified User Joined Apr 29, 2005 Messages 168 Aug 17, 2005 #2 I tried this Code: PUBHTML=/home/${username}/public_html chmod 755 $PUBHTML in domain_create_post.sh but i have this when I try : Error with custom script: /usr/local/directadmin/scripts/custom/domain_create_post.sh snifffff
I tried this Code: PUBHTML=/home/${username}/public_html chmod 755 $PUBHTML in domain_create_post.sh but i have this when I try : Error with custom script: /usr/local/directadmin/scripts/custom/domain_create_post.sh snifffff
T Titam Verified User Joined Apr 29, 2005 Messages 168 Aug 19, 2005 #3 John gave a me an answer : http://www.directadmin.com/features.php?id=497 add: apache_public_html=0 to your /usr/local/directadmin/conf/directadmin.conf, then restart directadmin. Click to expand... Last edited: Aug 19, 2005
John gave a me an answer : http://www.directadmin.com/features.php?id=497 add: apache_public_html=0 to your /usr/local/directadmin/conf/directadmin.conf, then restart directadmin. Click to expand...