ServerName 198.81.129.100:80
Listen 198.81.129.100:80
Listen 127.0.0.1:80
ServerRoot /usr/local/apache2
DocumentRoot /usr/local/apache2/htdocs
DirectoryIndex index.html index.pl
User nobody
Group nobody
UseCanonicalName Off
HostnameLookups Off
EnableMMAP Off
EnableSendFile Off
ServerTokens Prod
ServerSignature Off
IndexOptions FancyIndexing VersionSort FoldersFirst IgnoreCase IgnoreClient NameWidth=60 SuppressDescription SuppressIcon SuppressRules
DefaultLanguage en
LanguagePriority en
AddDefaultCharset ISO-8859-1
KeepAlive On
MaxKeepAliveRequests 300
KeepAliveTimeout 15
##
MaxClients 150
StartServers 5
MinSpareServers 5
MaxSpareServers 10
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
##
MaxRequestsPerChild 0
##
LogLevel info
ErrorDocument 404 "FileNotFound"
ErrorLog logs/error_log
#TransferLog logs/access_log
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%a %t %{Referer}i -> %U" referer
LogFormat "%a %t %{User-agent}i" agent
#
# You need to enable mod_logio.c to use %I and %O
#LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
#
CustomLog logs/access_log common
CustomLog logs/referer_log referer
CustomLog logs/agent_log agent
#CustomLog logs/access_log combined
##
Options FollowSymLinks
AllowOverride FileInfo AuthConfig Indexes Limit Options
order deny,allow
deny from all
##
LoadModule access_module modules/mod_access.so
LoadModule alias_module modules/mod_alias.so
LoadModule auth_module modules/mod_auth.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
LoadModule include_module modules/mod_include.so
LoadModule info_module modules/mod_info.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule mime_module modules/mod_mime.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule speling_module modules/mod_speling.so
LoadModule status_module modules/mod_status.so
LoadModule userdir_module modules/mod_userdir.so
#
#LoadModule actions_module modules/mod_actions.so
#LoadModule imap_module modules/mod_imap.so
#LoadModule asis_module modules/mod_asis.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule auth_anon_module modules/mod_auth_anon.so
#LoadModule auth_dbm_module modules/mod_auth_dbm.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule ext_filter_module modules/mod_ext_filter.so
##
UserDir disabled root
#UserDir enabled user1 user2
Userdir public_html
#
AllowOverride Options FileInfo Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Order allow,deny
Allow from all
Order deny,allow
Deny from all
##
AccessFileName .htaccess
Order allow,deny
Deny from all
##
#AddHandler cgi-script .cgi
#ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/"
#
# AllowOverride None
# Options None
# Order allow,deny
# Allow from all
#
##
#AddType application/x-httpd-php php
#
#SetOutputFilter PHP
#SetInputFilter PHP
#
#AddType application/x-httpd-php-source phps
#
#SetOutputFilter PHP
#SetInputFilter PHP
#
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
##
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
##
AddType application/x-tar .tgz
AddType image/x-icon .ico
##
ReadmeName /footer.html
##
# Insert filter
#SetOutputFilter DEFLATE
# Netscape 4.x has some problems...
#BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some more problems
#BrowserMatch ^Mozilla/4\.0[678] no-gzip
# MSIE masquerades as Netscape, but it is fine
#BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# Don't compress images
#SetEnvIfNoCase Request_URI \
#\.(?:gif|jpe?g|png)$ no-gzip dont-vary
# Make sure proxies don't deliver the wrong content
Header append Vary User-Agent env=!dont-vary
#
#
##
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Change the ".example.com" to match your domain to enable.
#
SetHandler server-status
Order deny,allow
Deny from all
Allow from 198.81
##
# Allow remote server configuration reports, with the URL of
# http://servername/server-info (requires that mod_info.c be loaded).
# Change the ".example.com" to match your domain to enable.
#
SetHandler server-info
Order deny,allow
Deny from all
Allow from 198.81
##
NameVirtualHost 198.81.129.100:80
##############################
DocumentRoot /usr/home/user1/www
Order Deny,Allow
Allow from All
AllowOverRide AuthConfig
Servername site1.org
ServerAlias www.site1.org
Options ExecCGI -Indexes
SetHandler cgi-script
AddHandler cgi-script pl
ScriptAlias /cgi-bin/ /usr/home/user1/www/cgi-bin/
Options -Indexes
Options -Indexes
Order Deny,Allow
Deny from All
Allow from 198.81
AllowOverRide Indexes
ErrorLog /var/log/www/user1/error_log
CustomLog /var/log/www/user1/access_log common
CustomLog /var/log/www/user1/referer_log referer
CustomLog /var/log/www/user1/agent_log agent
##############################
DocumentRoot /usr/home/user2/www
Order Deny,Allow
Allow from All
AllowOverRide none
Servername site2.bz
ServerAlias www.site2.bz
ScriptAlias /cgi-bin/ /usr/home/user2/www/cgi-bin/
Options -Indexes
Options +Indexes
Options +Indexes
Order Deny,Allow
Deny from All
Allow from 198.81
AllowOverRide Indexes AuthConfig
ErrorLog /var/log/www/user2/error_log
CustomLog /var/log/www/user2/access_log common
CustomLog /var/log/www/user2/referer_log referer
CustomLog /var/log/www/user2/agent_log agent
##############################