################################### # # ISPConfig vHost Configuration File # Version 1.0 # ################################### # NameVirtualHost 192.168.1.100:80 ServerName localhost ServerAdmin root@localhost DocumentRoot /var/www/sharedip # # ###################################### # Vhost: www.maxweisel.com:80 ###################################### # # RewriteEngine on RewriteCond %{HTTP_HOST} ^sandbox.maxweisel.com [NC] RewriteRule ^/(.*)$ /subdomains/sandbox/$1 [L] RewriteCond %{HTTP_HOST} ^myspace.maxweisel.com [NC] RewriteRule ^/(.*)$ /subdomains/myspace/$1 [L] RewriteCond %{HTTP_HOST} ^spectags.maxweisel.com [NC] RewriteRule ^/(.*)$ /subdomains/sandbox/spectags/$1 [L] RewriteCond %{HTTP_HOST} ^spectint.maxweisel.com [NC] RewriteRule ^/(.*)$ /subdomains/sandbox/spectint/$1 [L] RewriteCond %{HTTPS} off RewriteCond %{REQUEST_URI} ^/cgi-bin/proxy/.*$ RewriteRule ^/(.+)$ https://www.maxweisel.com/$1 [R] ServerName www.maxweisel.com:80 ServerAdmin webmaster@maxweisel.com DocumentRoot /var/www/web1/web ServerAlias maxweisel.com sandbox.maxweisel.com proxy.maxweisel.com myspace.maxweisel.com spectags.maxweisel.com spectint.maxweisel.com DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm ScriptAlias /cgi-bin/ /var/www/web1/cgi-bin/ AddHandler cgi-script .cgi AddHandler cgi-script .pl ErrorLog /var/www/web1/log/error.log AddType application/x-httpd-php .php .php3 .php4 .php5 SetOutputFilter PHP SetInputFilter PHP SetOutputFilter PHP SetInputFilter PHP SetOutputFilter PHP SetInputFilter PHP SetOutputFilter PHP SetInputFilter PHP php_admin_flag safe_mode Off Alias /error/ "/var/www/web1/web/error/" ErrorDocument 400 /error/invalidSyntax.html ErrorDocument 401 /error/authorizationRequired.html ErrorDocument 403 /error/forbidden.html ErrorDocument 404 /error/fileNotFound.html ErrorDocument 405 /error/methodNotAllowed.html ErrorDocument 500 /error/internalServerError.html ErrorDocument 503 /error/overloaded.html AliasMatch ^/~([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3 RewriteEngine on RewriteCond %{HTTP_HOST} ^proxy\.maxweisel\.com [NC] RewriteRule ^/(.*)$ http://www.maxweisel.com/cgi-bin/proxy/nph-proxy.pl$1 [R] # # #