Consultant1027
New Pleskian
We would like URL's that reference the cgi-bin directory to point to a cgi-bin-beta directory instead of cgi-bin but want to still use cgi-bin in the URL.
I tried adding this line to /var/www/vhosts/beta.somesite.com/conf/vhost.conf
ScriptAlias "/cgi-bin/" "/var/www/vhosts/beta.somesite.com/cgi-bin-beta/"
Updated domain
/usr/local/psa/admin/bin/httpdmng --reconfigure-domain beta.somesite.com
Then stop and start Plesk for good measure. But didn't work. Still pulling from cgi-bin directory.
Note this is for a subdomain beta. So the doc root is actually in /var/www/vhosts/somesite.com/httpdocs-beta but as I understand it, if you want to make config changes for the subdomain, you have to do them in /var/www/vhosts/beta.somesite.com since there's only one conf directory under the main domain.
Anyone know how to pull this off?
I'm actually running Plesk 11 but this forum has much more users and I don't think it makes a difference for something like this. Solution should be the same.
Thanks
I tried adding this line to /var/www/vhosts/beta.somesite.com/conf/vhost.conf
ScriptAlias "/cgi-bin/" "/var/www/vhosts/beta.somesite.com/cgi-bin-beta/"
Updated domain
/usr/local/psa/admin/bin/httpdmng --reconfigure-domain beta.somesite.com
Then stop and start Plesk for good measure. But didn't work. Still pulling from cgi-bin directory.
Note this is for a subdomain beta. So the doc root is actually in /var/www/vhosts/somesite.com/httpdocs-beta but as I understand it, if you want to make config changes for the subdomain, you have to do them in /var/www/vhosts/beta.somesite.com since there's only one conf directory under the main domain.
Anyone know how to pull this off?
I'm actually running Plesk 11 but this forum has much more users and I don't think it makes a difference for something like this. Solution should be the same.
Thanks
Last edited: