Listen 443
php_admin_value include_path .
<Directory "/var/www/confixx/html">
AllowOverride all
<IfModule mod_access.c>
Allow from all
</IfModule>
<IfModule mod_authz_host.c>
Allow from all
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
Options +FollowSymlinks
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
php_admin_flag engine on
</Directory>
NameVirtualHost xxx.xxx.xx.xx:80
<VirtualHost xxx.xxx.xx.xx:80>
ServerName confixx.servername.domain.de
#User confixx
#Group confixx
DocumentRoot /var/www/confixx/html
Options FollowSymLinks
php_admin_flag safe_mode Off
php_admin_flag file_uploads On
php_admin_flag track_vars On
php_admin_flag magic_quotes_runtime Off
php_admin_flag magic_quotes_gpc Off
php_admin_value upload_tmp_dir /var/www/confixx/tmp
php_admin_value include_path ".:/var/www/confixx/html/include:/var/www/confixx/html:/var/www/confixx/html/PEAR"
php_admin_value default_charset none
php_admin_value open_basedir /var/www/confixx
php_admin_flag allow_url_fopen Off
php_admin_value session.cookie_path /
php_admin_value session.auto_start 0
php_admin_value session.gc_maxlifetime 1800
php_admin_value session.use_cookies 1
php_admin_value session.cookie_lifetime 0
php_admin_value session.cookie_secure Off
php_admin_value session.use_trans_sid 0
ScriptAlias /cgi-bin/ /var/www/confixx/html/cgi-bin/
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi index.php
</IfModule>
CustomLog /var/log/apache2/confixx.servername.domain.de_access.log "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""
ErrorLog /var/log/apache2/confixx.servername.domain.de_error.log
</VirtualHost>
<VirtualHost xxx.xxxx.xx.xx:443>
ServerName confixx.servername.domain.de
#User confixx
#Group confixx
DocumentRoot /var/www/confixx/html
Options FollowSymLinks
php_admin_flag safe_mode Off
php_admin_flag file_uploads On
php_admin_flag track_vars On
php_admin_flag magic_quotes_runtime Off
php_admin_flag magic_quotes_gpc Off
php_admin_value upload_tmp_dir /var/www/confixx/tmp
php_admin_value include_path ".:/var/www/confixx/html/include:/var/www/confixx/html:/var/www/confixx/html/PEAR"
php_admin_value default_charset none
php_admin_value open_basedir /var/www/confixx
php_admin_flag allow_url_fopen Off
php_admin_value session.cookie_path /
php_admin_value session.auto_start 0
php_admin_value session.gc_maxlifetime 1800
php_admin_value session.use_cookies 1
php_admin_value session.cookie_lifetime 0
php_admin_value session.cookie_secure Off
php_admin_value session.use_trans_sid 0
ScriptAlias /cgi-bin/ /var/www/confixx/html/cgi-bin/
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi index.php
</IfModule>
<IfModule mod_ssl.c>
SSLEngine on
SSLCertificateKeyFile /etc/ssl.key/confixx.domain.de.key
SSLCertificateFile /etc/ssl.crt/confixx.domain.de.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 "/var/www/confixx/html/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
</IfModule>
CustomLog /var/log/apache2/confixx.servername.domain.de_access.ssl.log "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""
ErrorLog /var/log/apache2/confixx.servername.domain.de_error.ssl.log
</VirtualHost>
Include /etc/apache2/confixx_vhost.conf
# ^- Dieser Eintrag sollte unbedingt am Ende der Datei bleiben
## /CONFIXX