Introduction

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/

SetEnv REMOTE_USER=$REDIRECT_REMOTE_USER


    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 --vhost-name=virtualsite.com

Enjoy.

 

Viewed 11299 times.
Share |
How to migrate from o... (Daniel, 16:52 06/04/2013)
How to redirect SNMP ... (Daniel, 18:32 24/08/2012)
How to add httpd.conf... (Daniel, 19:20 24/03/2012)
How to avoid entering... (Daniel, 03:11 27/12/2011)
How to configure SOFT... (Daniel, 23:24 26/12/2011)
Subversion - Tortoise... (21:02 17/01/2010, 119185 views)
How to install Nagios... (01:08 23/12/2011, 43945 views)
Byte Order Mark (BOM)... (17:36 22/02/2010, 28080 views)
How to avoid entering... (03:11 27/12/2011, 23403 views)
Raid Types (17:54 09/02/2010, 20785 views)