B
benbroad
Guest
Hi, I have a script that runs a sudo command to create domains on one of our servers. It all works fine except when the domain is created I get forbidden errors when I try to access any file.
I create the domains with:
I then do a --reconfigure-vhost and restart the httpd.
Does anyone have any ideas as this is driving me nuts.
ta,
b.
I create the domains with:
Code:
sudo /usr/local/psa/bin/domain.sh -c '$domain.printless-publishing.com' -ip '$ip' -www false -hosting true -login $user -passwd '$password' -php true -template 'magomat' -clogin 'benbroad'
I then do a --reconfigure-vhost and restart the httpd.
Does anyone have any ideas as this is driving me nuts.
ta,
b.