#NameVirtualHost <ip-address>:80
UseCanonicalName Off
php_admin_flag safe_mode On
php_admin_value safe_mode_exec_dir /srv/www/empty/
LogFormat "%V:#:%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"" confixx
LogFormat "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"" confixx2
CustomLog /var/log/apache2/confixx/stdlog_access confixx2
<Directory "/srv/www">
<Files ~ "^.ht">
deny from all
</Files>
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Options None
Options +FollowSymLinks +Includes
</Directory>
<Directory "/srv/www/web1/html">
Options -FollowSymLinks -SymLinksIfOwnerMatch
DirectoryIndex index.html index.htm index.php index.php3 index.php4 index.wml
<IfModule mod_access.c>
Allow from all
</IfModule>
<Files ~ ".shtml$">
deny from all
</Files>
<Files ~ ".inc$">
order allow,deny<Directory "/srv/www/web2/html">
Options -FollowSymLinks -SymLinksIfOwnerMatch
DirectoryIndex index.html index.htm index.php index.php3 index.php4 index.wml
<IfModule mod_access.c>
Allow from all
</IfModule>
<Files ~ ".shtml$">
deny from all
</Files>
<Files ~ ".inc$">
order allow,deny
deny from all
</Files>
</Directory>
<Directory "/srv/www/web3/html">
Options -FollowSymLinks -SymLinksIfOwnerMatch
DirectoryIndex index.html index.htm index.php index.php3 index.php4 index.wml
<IfModule mod_access.c>
Allow from all
</IfModule>
<Files ~ ".shtml$">
deny from all
</Files>
<Files ~ ".inc$">
order allow,deny
deny from all
</Files>
</Directory>
<Directory "/srv/www/confixx/html">
Options +FollowSymLinks
DirectoryIndex index.php index.htm index.html
AllowOverride all
<IfModule mod_access.c>
Allow from all
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^reseller/res[0-9]+/(.*)$ reseller/$1 [L]
RewriteRule ^user/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+/(.*)$ user/$1 [L]
RewriteRule ^ftplogin/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+/(.*)$ ftplogin/$1 [L]
RewriteRule ^ftplogin/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+f[0-9]+/(.*)$ ftplogin/$1 [L]
RewriteRule ^poplogin/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+p[0-9]+/(.*)$ poplogin/$1 [L]
</IfModule>
AddDefaultCharset off
<Files ~ ".shtml$">
deny from all
</Files>
<Files ~ ".inc$">
order allow,deny
deny from all
</Files>
</Directory>
# Default - gesperrt
<VirtualHost <ip-address>:80>
SuexecUserGroup confixx confixx
DocumentRoot /srv/www/confixx/html/gesperrt
</VirtualHost>
<VirtualHost <ip-address>:80>
ServerAdmin webmaster@<myserv>
ServerName
http://www.
ServerAlias <myserv>.de
DocumentRoot /srv/www/web1/html
SuexecUserGroup web1 web1
ScriptAlias /cgi-bin/ /srv/www/web1/html/cgi-bin/
CustomLog /srv/www/web1/log/access_log confixx2
php_admin_value open_basedir /srv/www/web1/html/:/srv/www/web1/phptmp/:/srv/www/web1/files/:/srv/www/web1/atd/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /srv/www/web1/phptmp/
</VirtualHost>
<VirtualHost <ip-address>:80>
ServerAdmin webmaster@<myserv>.de
ServerName
http://www.
ServerAlias <myserv>.de
DocumentRoot /srv/www/web2/html
SuexecUserGroup web2 web2
ScriptAlias /cgi-bin/ /srv/www/web2/html/cgi-bin/
CustomLog /srv/www/web2/log/access_log confixx2
php_admin_value open_basedir /srv/www/web2/html/:/srv/www/web2/phptmp/:/srv/www/web2/files/:/srv/www/web2/atd/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /srv/www/web2/phptmp/
php_admin_value safe_mode off
</VirtualHost>
<VirtualHost <ip-address>:443>
ServerAdmin webmaster@<myserv>.de
ServerName ssl.<myserv>.de
DocumentRoot /srv/www/web2/html/ssl
SuexecUserGroup web2 web2
ScriptAlias /cgi-bin/ /srv/www/web2/html/cgi-bin/
CustomLog /srv/www/web2/log/access_log confixx2
php_admin_value open_basedir /srv/www/web2/html/:/srv/www/web2/phptmp/:/srv/www/web2/files/:/srv/www/web2/atd/
php_admin_value file_uploads 0
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi index.php
</IfModule>
<IfModule mod_ssl.c>
SSLEngine on
SSLCertificateKeyFile /etc/apache2/ssl.key/<myserv>.key
SSLCertificateFile /etc/apache2/ssl.crt/<myserv>.crt
SetEnvIf User-Agent ".*MSIE.*"
nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
<Files ~ ".(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory "/srv/www/web2/html/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
</IfModule>
CustomLog /var/log/apache2/<myserv>.ssl.log "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i""
ErrorLog /var/log/apache2/<myserv>.de_error.ssl.log
</VirtualHost>