| Current File : //usr/local/apache.save/conf/httpd.conf.bak |
ServerRoot "/usr/local/apache"
Listen 203.124.10.177:80
LoadModule suphp_module modules/mod_suphp.so
#LoadModule php5_module modules/libphp5.so
<IfModule !mpm_netware_module>
User www
Group www
</IfModule>
ServerAdmin support@communilink.net
ServerName zeus.communilink.net:80
DocumentRoot "/usr/local/apache/htdocs"
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "/usr/local/apache/htdocs">
Options Indexes FollowSymLinks ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule dir_module>
DirectoryIndex index.html index.htm index.cgi index.php3 index.shtml index.php index.phtml default.htm
</IfModule>
<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled
UserDir enabled general
</IfModule>
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
<LocationMatch "/(phpMyAdmin|myadmin|pma)/scripts">
Order allow,deny
Deny from all
Satisfy All
</LocationMatch>
ErrorLog "/usr/local/apache/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 "%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/www/access_log vhost
</IfModule>
<IfModule alias_module>
ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"
</IfModule>
<IfModule cgid_module>
</IfModule>
<Directory "/usr/local/apache/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 x-httpd-php .php
AddType application/x-httpd-php .php .php3 .phtml
# AddType application/x-httpd-php-source .phps
AddHandler cgi-script .cgi .pl
AddType text/html .shtml .ssi
AddHandler server-parsed .shtml
</IfModule>
#Include conf/extra/httpd-userdir.conf
Include conf/extra/httpd-info.conf
Include conf/extra/httpd-mpm.conf
Include conf/extra/httpd-ssl.conf
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
###################################################################################################
NameVirtualHost 203.124.10.177:80
<FilesMatch "(formmail.pl|formmail.cgi|crossdomain.xml)">
deny from all
</FilesMatch>
<Directory /export/home/*/public_html>
Options Indexes Includes FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
AddType text/html .shtml .ssi
AddOutputFilter INCLUDES .shtml .ssi
</Directory>
<Directory /home/*/public_html>
Options Indexes Includes FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
AddType text/html .shtml .ssi
AddOutputFilter INCLUDES .shtml .ssi
</Directory>
<Directory /home/*/public_html/cgi-bin/>
Options FollowSymLinks ExecCGI
AddOutputFilter Includes shtml
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory /home/*/subdomain>
Options Includes Indexes FollowSymLinks IncludesNoExec
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<VirtualHost 203.124.10.177:80>
ServerName zeus.communilink.net
ServerAdmin webmaster@communilink.net
DocumentRoot /usr/local/apache/htdocs
</VirtualHost>
<VirtualHost 203.124.10.177:80>
SuexecUserGroup general users
ServerName zeus.generalchea.net
ServerAlias *.zeus.generalchea.net
ServerAdmin webmaster@zeus.generalchea.net
DocumentRoot /home/general/public_html
ScriptAlias /cgi-bin/ /home/general/public_html/cgi-bin/
<IfModule suphp_module>
suPHP_Engine on
AddHandler x-httpd-php56 .php
<Location />
suPHP_AddHandler x-httpd-php56
</Location>
suPHP_UserGroup general users
</IfModule>
</VirtualHost>
<VirtualHost 203.124.10.177:80>
SuexecUserGroup zeuskitty users
ServerName zeus.kittylau.com
ServerAlias *.zeus.kittylau.com
ServerAdmin webmaster@zeus.kittylau.com
DocumentRoot /home/zeuskitty/public_html
ScriptAlias /cgi-bin/ /home/zeuskitty/public_html/cgi-bin/
<IfModule suphp_module>
suPHP_Engine on
AddHandler x-httpd-php56 .php
<Location />
suPHP_AddHandler x-httpd-php56
</Location>
suPHP_UserGroup zeuskitty users
</IfModule>
</VirtualHost>