Plesk change subdomain root
Posted on 2006-05-20
I'm trying to change the root directory of a subdomain. With a vhost.conf file I can get it to work on a top level domain just not with a subdomain.
With a top level domain I create a vhost.conf file like this...
# start vhost.conf
php_admin_value safe_mode 0
Options Indexes ExecCGI FollowSymLinks MultiViews
AddHandler cgi-script .cgi
# .htaccess so cake's urls work properly
Allow from all
# end vhost.conf
and then % /usr/local/psa/admin/sbin/websrvmng -u --vhost-name=domain.com
to apply the changes. I tried making a vhost.conf in my subdomain's conf directory but that doesn't seem to do anything.