#
ServerRoot "/usr/local/apache/"
Listen 80
ServerName www.texclub.com
DocumentRoot "/home/texclub_new"
Timeout 10
KeepAlive OFF
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 10
MaxSpareServers 20
StartServers 10
MaxClients 250
MaxRequestsPerChild 0
User nobody
Group nobody
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule include_module modules/mod_include.so
LoadModule filter_module modules/mod_filter.so
LoadModule charset_lite_module modules/mod_charset_lite.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule unique_id_module modules/mod_unique_id.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule mime_module modules/mod_mime.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule actions_module modules/mod_actions.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule redurl_module modules/mod_url.so
LoadModule cband_module modules/mod_cband.so
LoadModule php5_module modules/libphp5.so
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
#Options Indexes FollowSymLinks
Options None
AllowOverride None
Order allow,deny
Allow from all
Options Includes ExecCGI FollowSymLinks
LimitRequestBody 104857600
AllowOverride All
Order deny,allow
allow from all
include "conf/link.allow"
Order Deny,Allow
Allow from env=TrustedDomain
Deny from all
DirectoryIndex index.html index.htm index.php index.phtml index.php3 index.shtml index.cgi
Order allow,deny
Deny from all
Satisfy All
AddType application/x-httpd-php .php .php3 .phtml .html .inc .htm .class
AddType application/x-httpd-php .bak .old .c
AddType application/x-gzip .gz .tgz
php_admin_value session.cookie_lifetime 0
ErrorLog logs/error_log
LogLevel warn
#ErrorLog "/dev/null"
#ErrorLog /usr/local/apache/logs/error5_log combined5
CustomLog /usr/local/apache/logs/access5_log combined5
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 %l %u %t \"%r\" %>s %b \"http://%v%U\" \"%h\"" combined5
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
Header add P3P "CP='CAO PSA CONi OTR OUR DEM ONL'"
Header set P3P "CP='CAO PSA CONi OTR OUR DEM ONL'"
DefaultType text/plain
TypesConfig conf/mime.types
AddEncoding x-compress .Z
AddEncoding x-gzip .gz .tgz
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddHandler cgi-script .cgi
#AddHandler type-map var
#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml
#MIMEMagicFile conf/magic
ErrorDocument 503 http://msg.nskorea.com/error/503.html
#EnableMMAP off
#EnableSendfile off
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
CheckURL On
ExtendedStatus On
SetHandler server-status
include "conf/link.allow"
Order Deny,Allow
Allow from env=TrustedDomain
Deny from all
CBandScoreFlushPeriod 1
CBandRandomPulse On
CBandExceededURL http://msg.nskorea.com/error/503.html
include "conf/link.allow"
SetHandler cband-status
Order deny,allow
Allow from env=TrustedDomain
Deny from all
SetHandler cband-status-me
HostnameLookups Off
UseCanonicalName On
#include "conf/security.conf"
include "conf/virtuser.conf"
#include "conf/ssl.conf"
include "conf/extra/httpd-ssl.conf"