Return to Snippet

Revision: 11761
at February 17, 2009 14:34 by zachharkey


Updated Code
<Directory /home/httpd/vhosts/example.com/httpdocs>
        Options -Includes -ExecCGI -FollowSymLinks +Indexes
<IfModule sapi_apache2.c>
        php_admin_flag engine on
        php_admin_flag safe_mode off
        php_admin_value open_basedir none
</IfModule>
<IfModule mod_php5.c>
        php_admin_flag engine on
        php_admin_flag safe_mode off
        php_admin_value open_basedir none
</IfModule>
</Directory>

Revision: 11760
at February 17, 2009 14:31 by zachharkey


Initial Code
<Directory /home/httpd/vhosts/example.com/httpdocs>
        Options -Includes -ExecCGI -FollowSymLinks +Indexes
<IfModule sapi_apache2.c>
        php_admin_flag engine on
        php_admin_flag safe_mode off
        php_admin_value open_basedir none
</IfModule>
<IfModule mod_php5.c>
        php_admin_flag engine on
        php_admin_flag safe_mode off
        php_admin_value open_basedir none
</IfModule>
</Directory>

Initial URL


Initial Description
Use this when you want to serve a domain from the document root of another domain on the same box. Along with this config, you will want to replace the httpdocs directory with a symlink to the other domains doc root. (Don't forget to change ownership of the symlink to match the owner of the destination doc root.)

Initial Title
Plesk vhost.conf for symlinking httpdocs to another domain

Initial Tags
textmate, apache

Initial Language
Other