tomclegg.net |
Making Plesk run php programs outside http[s]docs Posted June 29, 2005 ProblemYou have a certificate for secure.example.com. You want to host the stuff in other domains under secure.example.com. For example, https://secure.example.com/site1/ and https://secure.example.com/site2/ show the same thing as http://site1/ and http://site2/.SolutionSecurity warning: security won't be as good any more. Understand the consequences before doing this(tm). Add to /home/httpd/vhosts/secure.example.com/conf/vhost_ssl.conf then<Directory /home/httpd/vhosts/secure.example.com/httpsdocs> <IfModule sapi_apache2.c> php_admin_value open_basedir "/home/httpd/vhosts/secure.example.com/httpsdocs:/home/httpd/vhosts:/tmp" </IfModule> </Directory> /usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=secure.example.comthen /etc/rc.d/init.d/httpd reload |