eWebtricity
08-28-2005, 02:19 AM
This will allow you to combine the /home/httpd/vhosts/domain.com/httpdocs and /home/httpd/vhosts/domain.com/httpsdocs directories together as one.
Go to the domain's home directory:
cd /home/httpd/vhostsdomain.com
Move existing httpsdocs:
mv -f httpsdocs httpsdocs.old
Create a symbolic link:
ln -s httpdocs httpsdocs
Change Apache config to allow symlinks - to do this create a new file called "vhost_ssl.conf" inside the domain's conf directory and put something like following into this file:
<Directory /home/httpd/vhosts/domain.com>
Options +FollowSymLinks
</Directory>
Resonfigure and restart Apache:
/usr/local/psa/admin/sbin/websrvmng -a -v
Or just go through the control panel Servers > Service Management > Restart Apache
Go to the domain's home directory:
cd /home/httpd/vhostsdomain.com
Move existing httpsdocs:
mv -f httpsdocs httpsdocs.old
Create a symbolic link:
ln -s httpdocs httpsdocs
Change Apache config to allow symlinks - to do this create a new file called "vhost_ssl.conf" inside the domain's conf directory and put something like following into this file:
<Directory /home/httpd/vhosts/domain.com>
Options +FollowSymLinks
</Directory>
Resonfigure and restart Apache:
/usr/local/psa/admin/sbin/websrvmng -a -v
Or just go through the control panel Servers > Service Management > Restart Apache