| Current File : //usr/local/apache.wcp/conf/httpd.conf.bak |
ServerRoot "/usr/local/apache.wcp"
Listen 203.124.10.178:80
LoadModule php5_module modules/libphp5.so
<IfModule !mpm_netware_module>
User www
Group www
</IfModule>
ServerAdmin webmaster@communilink.net
ServerName 203.124.10.178:80
DocumentRoot "/var/backend/wo/public_html"
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory "/var/backend/wo/public_html">
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
<IfModule dir_module>
DirectoryIndex index.html index.htm index.cgi index.pl index.php3 index.shtml index.php index.phtml default.htm
</IfModule>
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</Files>
ErrorLog /usr/local/apache.wcp/logs/error_log
LogLevel warn
<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
LogFormat "%V %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" vhost
<IfModule logio_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
CustomLog /var/log/wcp/access_log vhost
</IfModule>
<IfModule alias_module>
Alias /icons/ "/usr/local/apache.wcp/icons/"
<Directory "/usr/local/apache.wcp/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /images/ /var/backend/wcp/images/
Alias /css/ /var/backend/wcp/css/
Alias /maildata/ /var/backend/wo/public_html/maildata/
Alias /webmail/ /var/backend/wo/public_html/webmail/
Alias /horde/ /var/backend/wo/public_html/horde/
</IfModule>
<IfModule cgid_module>
#
# ScriptSock: On threaded servers, designate the path to the UNIX
# socket used to communicate with the CGI daemon of mod_cgid.
#
#Scriptsock logs/cgisock
</IfModule>
<Directory "/usr/local/apache.wcp/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
DefaultType text/plain
<IfModule mime_module>
TypesConfig conf/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddHandler cgi-script .cgi .pl
AddType application/x-httpd-php .php .php3 .phtml
AddType application/x-httpd-php-source .phps
</IfModule>
#
# The mod_mime_magic module allows the server to use various hints from the
# contents of the file itself to determine its type. The MIMEMagicFile
# directive tells the module where the hint definitions are located.
#
#MIMEMagicFile conf/magic
#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
#
#
# EnableMMAP and EnableSendfile: On systems that support it,
# memory-mapping or the sendfile syscall is used to deliver
# files. This usually improves server performance, but must
# be turned off when serving from networked-mounted
# filesystems or if support for these functions is otherwise
# broken on your system.
#
#EnableMMAP off
#EnableSendfile off
# Supplemental configuration
#
# The configuration files in the conf/extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server, or you may simply copy their contents here and change as
# necessary.
# Server-pool management (MPM specific)
Include conf/extra/httpd-mpm.conf
# Multi-language error messages
#Include conf/extra/httpd-multilang-errordoc.conf
# Fancy directory listings
#Include conf/extra/httpd-autoindex.conf
# Language settings
#Include conf/extra/httpd-languages.conf
# User home directories
#Include conf/extra/httpd-userdir.conf
# Real-time info on requests and configuration
#Include conf/extra/httpd-info.conf
# Virtual hosts
#Include conf/extra/httpd-vhosts.conf
# Local access to the Apache HTTP Server Manual
#Include conf/extra/httpd-manual.conf
# Distributed authoring and versioning (WebDAV)
#Include conf/extra/httpd-dav.conf
# Various default settings
#Include conf/extra/httpd-default.conf
# Secure (SSL/TLS) connections
#Include conf/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
# starting without SSL on platforms with no /dev/random equivalent
# but a statically compiled-in mod_ssl.
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
<IfModule mod_setenvif.c>
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
SetEnvIf Request_URI "em$" EM_LANGUAGE=en
SetEnvIf Request_URI "em\.en" EM_LANGUAGE=en
SetEnvIf Request_URI "em\.gb" EM_LANGUAGE=gb
SetEnvIf Request_URI "em\.big5" EM_LANGUAGE=big5
</IfModule>
NameVirtualHost 203.124.10.178
<FilesMatch "(formmail.pl|formmail.cgi)">
deny from all
</FilesMatch>
<Directory /var/wcp4/*/public_html>
Options Includes Indexes FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory /var/wo/*/public_html>
Options Includes Indexes FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory /var/backend/wcp/stats>
Options Includes Indexes FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory /var/backend/wcp/file>
Options Includes Indexes FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<VirtualHost 203.124.10.178:80>
ServerName 203.124.10.178
DocumentRoot /var/backend/wo/public_html
ScriptAlias /cgi-bin/ /var/backend/wo/cgi-bin/
</VirtualHost>
<VirtualHost 203.124.10.178:80>
SuexecUserGroup general users
ServerName wcp.zeus.generalchea.net
DocumentRoot /var/wcp4/general/public_html
ScriptAlias /cgi-bin/ /var/wcp4/general/cgi-bin/
</VirtualHost>
<VirtualHost 203.124.10.178:80>
SuexecUserGroup zeuskitty users
ServerName wcp.zeus.kittylau.com
DocumentRoot /var/wcp4/zeuskitty/public_html
ScriptAlias /cgi-bin/ /var/wcp4/zeuskitty/cgi-bin/
</VirtualHost>
<VirtualHost 203.124.10.178:80>
SuexecUserGroup demo1342 users
ServerName wcp.demo1342.wcpdemo.com
DocumentRoot /var/wcp4/demo1342/public_html
ScriptAlias /cgi-bin/ /var/wcp4/demo1342/cgi-bin/
</VirtualHost>
<VirtualHost 203.124.10.178:80>
SuexecUserGroup demo1345 users
ServerName wcp.demo1345.wcpdemo.com
DocumentRoot /var/wcp4/demo1345/public_html
ScriptAlias /cgi-bin/ /var/wcp4/demo1345/cgi-bin/
</VirtualHost>
<VirtualHost 203.124.10.178:80>
SuexecUserGroup demo1346 users
ServerName wcp.demo1346.wcpdemo.com
DocumentRoot /var/wcp4/demo1346/public_html
ScriptAlias /cgi-bin/ /var/wcp4/demo1346/cgi-bin/
</VirtualHost>
<VirtualHost 203.124.10.178:80>
SuexecUserGroup demo1347 users
ServerName wcp.demo1347.wcpdemo.com
DocumentRoot /var/wcp4/demo1347/public_html
ScriptAlias /cgi-bin/ /var/wcp4/demo1347/cgi-bin/
</VirtualHost>