Differences between revisions 1 and 2
Revision 1 as of 2008-04-03 10:16:26
Size: 1060
Editor: sjorge
Comment:
Revision 2 as of 2009-09-20 22:13:17
Size: 1060
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

# HTTP Server
<VirtualHost *:80>
        ServerName %name%:80
        %aliases%
        ErrorLog "%host_dir%/%name%/_sys/logs/error_log"
        CustomLog "%host_dir%/%name%/_sys/logs/access_log" combined

        DocumentRoot "%host_dir%/%name%/httpdocs"
        <Directory "%host_dir%/%name%/httpdocs">
                Options FollowSymLinks ExecCGI Indexes
                AllowOverride AuthConfig Limit
                order allow,deny
                Allow from All
        </Directory>

        # PHP Configuration
        <IfModule mod_php5.c>
                php_admin_value open_basedir "%host_dir%/%name%:/srv/httpd/error:/tmp"
                php_admin_value upload_tmp_dir "%host_dir%/%name%/_sys/tmp"
                php_admin_value session.safe_path "%host_dir%/%name%/_sys/sessions"
        </IfModule>

        # Mod_Security
        <IfModule mod_security2.c>
                SecUploadDir "%host_dir%/%name%/_sys/tmp"
        </IfModule>

        # Additional configuration
        %cfg%
</VirtualHost>

ApacheVirtualHostMysql/http.tmpl (last edited 2009-09-20 22:13:17 by localhost)