This tutorial is made to help Plesk hosting providers setup a different rule per virtual site on their Plesk Shared Hosting Server

1. Login to you server by ssh
2. go to the virtual site directory
# cd /var/www/vhosts//conf
3. edit your vhost.conf file. It has to be named vhost.conf
for example:
# vi vhost.conf
Alias /some_link /var/some_directory_to_link_to/


    Options +Indexes +FollowSymLinks +ExecCGI -Includes
    Deny from all

4. In order for the changes to take effect, you can run the following. It doesn't restart your web server(!) however it will reload the configuration so you'll have your directives inserted to the apache.

# /usr/local/psa/admin/sbin/websrvmng -u



Viewed 13315 times.
Share |