#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
# After this file is processed, the server will look for and process
# $path$/apache/conf/srm.conf and then $path$/Aapache/conf/access.conf
# unless you have overridden these with ResourceConfig and/or
# AccessConfig directives here.
#
# The configuration directives are grouped into three basic sections:
# 1. Directives that control the operation of the Apache server process as a
# whole (the 'global environment').
# 2. Directives that define the parameters of the 'main' or 'default' server,
# which responds to requests that aren't handled by a virtual host.
# These directives also provide default values for the settings
# of all virtual hosts.
# 3. Settings for virtual hosts, which allow Web requests to be sent to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
# with ServerRoot set to "/usr/local/apache" will be interpreted by the
# server as "/usr/local/apache/logs/foo.log".
#
# NOTE: Where filenames are specified, you must use forward slashes
# instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
# If a drive letter is omitted, the drive on which Apache.exe is located
# will be used by default. It is recommended that you always supply
# an explicit drive letter in absolute paths, however, to avoid
# confusion.
# NOTE FOR WIN32 USERS: You should use quotes for any path and file name.
# Use "C:/opensa/apache/htdocs/" instead of C:/opensa/apache/htdocs/. This
# will avoid the problems with long file names under Win32, which have spaces,
# like "C:/program files/".
ServerType standalone
ServerRoot "$path$/apache"
PidFile logs/httpd.pid
ScoreBoardFile logs/apache_status
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MaxRequestsPerChild 0
ThreadsPerChild 50
# NOTE: DO NOT REMOVE THE FOLLOWING LINE !!!
LoadModule php4_module "$path$/php/php4apache.dll"
LoadModule anon_auth_module modules/mod_auth_anon.so
#LoadModule gzip_module modules/ApacheModuleGzip.dll
AddType application/x-httpd-php .phtml .pwml .php3 .php4 .php .php2 .inc
Port 80
ServerAdmin webmaster@localhost
ServerName localhost
DocumentRoot "$path$/www"
AccessFileName .htaccess
Options FollowSymLinks
AllowOverride All
Options Indexes FollowSymLinks Includes
AllowOverride All
Order allow,deny
Allow from all
DirectoryIndex index.html index.htm index.shtml index.wml index.pwml index.php index.php3
AccessFileName .htaccess
Order allow,deny
Deny from all
UseCanonicalName On
TypesConfig conf/mime.types
DefaultType text/plain
MIMEMagicFile conf/magic
HostnameLookups Off
ErrorLog logs/error.log
LogLevel warn
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
CustomLog logs/access.log common
ServerSignature EMail
Alias /icons/ "$path$/apache/icons/"
Alias /mysql/ "$path$/phpmyadmin/"
Alias /tests/ "$path$/tests/"
Alias /images_easyphp/ "$path$/home/images_easyphp/"
ScriptAlias /cgi-bin/ "$path$/cgi-bin/"
AllowOverride None
Options None
AddDescription "GZIP compressed document" .gz
AddDescription "tar archive" .tar
AddDescription "GZIP compressed tar archive" .tgz
AddDescription "ZIP archive" .zip
AddDescription "CAB archive" .cab
AddDescription "Win32 Executable" .exe
ReadmeName README
HeaderName HEADER
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
AddEncoding x-compress Z
AddEncoding x-gzip gz
AddType text/vnd.wap.wml .wml
AddType application/vnd.wap.wmlc .wmlc
AddType text/vnd.wap.wmlscript .wmls
AddType text/vnd.wap.wmlscriptc .wmlsc
AddType image/vnd.wap.wbmp .wbmp
AddHandler cgi-script .cgi
AddType text/html .shtml
AddHandler server-parsed .shtml
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
#
# SetHandler server-status
# Order deny,allow
# Deny from all
# Allow from localhost
#
#alias
#alias