################### CONFIXX APACHE MAIN CONFIG FILE ######################
# created at Thu May 31 13:44:00 2007
#
# !!! Do not make any changes in this file !!!
#
# 1. We cannot guarantee that the software will work properly, if
# the contents of this file are modified.
# 2. This file would be rewritten after each Confixx software update and
# in some other cases. Thus all your changes would be lost unless you made
# a backup of the file.
#
# If you need to modify this file, you can insert some custom "Include"
# directives. E.g.
# Include /path/to/your/file
# Includes inserted directly after <VirtualHost> tag would keep their
# location inchanged after the file is updated. Other includes would
# be moved to be inserted before the </VirtualHost> tag.
##########################################################################
Listen 80
Listen 443
<Directory "/home/www/confixx/html">
AllowOverride all
<IfModule mod_access.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
suPHP_engine on
</Directory>
NameVirtualHost 89.110.145.113:80
<VirtualHost 89.110.145.113:80>
ServerName 89.110.145.113
DocumentRoot /home/www/confixx/html/gesperrt
Options FollowSymLinks
suPHP_ConfigPath /etc/apache/confixx_phpini
<IfModule mod_dir.c>
DirectoryIndex index.php index.html index.htm index.shtml index.cgi
</IfModule>
</VirtualHost>
<VirtualHost 89.110.145.113:80>
ServerName v354.ncsrv.de
#User confixx
#Group confixx
DocumentRoot /home/www/confixx/html
Options FollowSymLinks
suPHP_ConfigPath /etc/apache/confixx_phpini
ScriptAlias /cgi-bin/ /home/www/confixx/html/cgi-bin/
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi index.php
</IfModule>
CustomLog /var/log/apache/v354.ncsrv.de_access.log "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""
ErrorLog /var/log/apache/v354.ncsrv.de_error.log
</VirtualHost>
NameVirtualHost 89.110.145.113:443
<VirtualHost 89.110.145.113:443>
ServerName 89.110.145.113
DocumentRoot /home/www/confixx/html/gesperrt
Options FollowSymLinks
suPHP_ConfigPath /etc/apache/confixx_phpini
<IfModule mod_dir.c>
DirectoryIndex index.php index.html index.htm index.shtml index.cgi
</IfModule>
<IfModule mod_ssl.c>
SSLEngine on
SSLCertificateKeyFile /etc/apache/ssl.key/v354.ncsrv.de.key
SSLCertificateFile /etc/apache/ssl.crt/v354.ncsrv.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 "/home/www/confixx/html/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
</IfModule>
</VirtualHost>
<VirtualHost 89.110.145.113:443>
ServerName v354.ncsrv.de
#User confixx
#Group confixx
DocumentRoot /home/www/confixx/html
Options FollowSymLinks
suPHP_ConfigPath /etc/apache/confixx_phpini
ScriptAlias /cgi-bin/ /home/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/apache/ssl.key/v354.ncsrv.de.key
SSLCertificateFile /etc/apache/ssl.crt/v354.ncsrv.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 "/home/www/confixx/html/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
</IfModule>
CustomLog /var/log/apache/v354.ncsrv.de_access.ssl.log "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""
ErrorLog /var/log/apache/v354.ncsrv.de_error.ssl.log
</VirtualHost>
Include /etc/apache/confixx_vhost.conf
# ^- Dieser Eintrag sollte unbedingt am Ende der Datei bleiben
## /CONFIXX