############################ # Host Settings # ############################ # Required Modules LoadModule macro_module modules/mod_macro.so LoadModule dav_module modules/mod_dav.so LoadModule dav_fs_module modules/mod_dav_fs.so DAVLockDB logs/davlock LoadModule ssl_module modules/mod_ssl.so SSLRandomSeed startup builtin SSLRandomSeed connect builtin AddType application/x-x509-ca-cert .crt AddType application/x-pkcs7-crl .crl SSLPassPhraseDialog builtin SSLSessionCache dbm:logs/ssl_scache SSLSessionCacheTimeout 300 SSLMutex default # Listening Sockets Listen 80 NameVirtualHost *:80 Listen 443 NameVirtualHost *:443 Listen 81 NameVirtualHost *:81 # VirtualHost Macro # HTTP Server ServerName $host:80 ErrorLog "/hosts/$host/_server/logs/error_log" CustomLog "/hosts/$host/_server/logs/access_log" combined DocumentRoot "/hosts/$host/httpdocs" Options FollowSymLinks ExecCGI Indexes AllowOverride AuthConfig Limit order allow,deny Allow from All ScriptAlias /cgi-bin/ "/hosts/$host/cgi-bin/" AllowOverride None Options None Order allow,deny Allow from all # Server Options (PHP, mod_perl,...) Include "/hosts/$host/_server/host_settings.conf" # PHP Configuration php_admin_value open_basedir "/hosts/$host;/httpd-2.2/error;C:\WINDOWS\Temp" php_admin_value upload_tmp_dir "/hosts/$host/_server/tmp" php_admin_value session.safe_path "/hosts/$host/_server/sessions" # Mod_Security SecUploadDir "/hosts/$host/_server/tmp" # DAV Server ServerName $host:81 ErrorLog "/hosts/$host/_server/logs/error_log" CustomLog "/hosts/$host/_server/logs/access_log_dav" combined DocumentRoot "/hosts/$host" DirectoryIndex dav_index_list Options FollowSymLinks AllowOverride none order allow,deny Allow from All #DAV Settings DAV On #Authentication AuthName "DAV for $host" AuthType basic AuthBasicProvider file AuthUserFile "/hosts/$host/_server/users.db" Require valid-user #Remove filter for dynamic content RemoveHandler .pl .cgi .shtm .shtml RemoveType .php .phps .phtml Order allow,deny Allow from all BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully BrowserMatch "MS FrontPage" redirect-carefully BrowserMatch "^WebDrive" redirect-carefully BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully BrowserMatch "^gnome-vfs/1.0" redirect-carefully BrowserMatch "^XML Spy" redirect-carefully BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On # HTTPS Server ServerName $host:443 ErrorLog "/hosts/$host/_server/logs/error_log" CustomLog "/hosts/$host/_server/logs/access_log_ssl" combined DocumentRoot "/hosts/$host/httpsdocs" Options FollowSymLinks ExecCGI AllowOverride AuthConfig Limit order allow,deny Allow from All ScriptAlias /cgi-bin/ "/hosts/$host/cgi-bin/" SSLOptions +StdEnvVars AllowOverride None Options None Order allow,deny Allow from all SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLCertificateFile "/hosts/$host/_server/ssl/server.crt" SSLCertificateKeyFile "/hosts/$host/_server/ssl/server.key" SSLOptions +StdEnvVars SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 # Server Options (PHP, mod_perl,...) Include "/hosts/$host/_server/host_settings.conf" # PHP Configuration php_admin_value open_basedir "/hosts/$host;/httpd-2.2/error;C:\WINDOWS\Temp" php_admin_value upload_tmp_dir "/hosts/$host/_server/tmp" php_admin_value session.safe_path "/hosts/$host/_server/sessions" # Mod_Security SecUploadDir "/hosts/$host/_server/tmp" # Host Options Macro AddHandler cgi-script .cgi .pl AddHandler cgi-script .cgi .pl AddType text/html .shtml .shtm AddOutputFilter INCLUDES .shtml .shtm AddHandler application/x-httpd-php .php AddHandler application/x-httpd-php-source .phps # Host Configuration Use VirtualHost localhost