#
# This is the main Apache HTTP server configuration file. It contains
# Configuration directives that give the server its instructions.
# See <URL: http://httpd.apache.org/docs/2.2/> for detailed information.
# In particle, see
# <URL: http://httpd.apache.org/docs/2.2/mod/directives.html>
# For a discussion of each configuration directive.
#
# 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.
#
# Configuration and logfile names: If the filenames you specify for Example
# Of the server's control files begin with "/" (or "drive:/" for Win32),
# 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 "G:/appserv/apache2.2" will be interpreted by
# Server as "G:/appserv/apache2.2/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.
#
# Prefork mpm
# Startservers: Number of server processes to start
# Minspareservers: Minimum number of server processes which are kept spare
# Maxspareservers: Maximum number of server processes which are kept spare
# Maxclients: Maximum number of server processes allowed to start
# Maxrequestsperchild: Maximum number of requests a server process serves
<Ifmodule mpm_prefork_module>
Startservers 5
Minspareservers 5
Maxspareservers 10
Maxclients 150
Maxrequestsperchild 0
</Ifmodule>
# Threadsperchild: constant number of worker threads in the server process
# Maxrequestsperchild: Maximum number of requests a server process serves
# Threadsperchild 250
Maxrequestsperchild 0
#
# Serverroot: The top of the directory tree under which the server's
# Configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path. If you point
# Serverroot at a non-local disk, be sure to point the lockfile Directive
# At a local disk. If you want to share the same serverroot for multiple
# Httpd daemons, you will need to change at least lockfile and pidfile.
#
Serverroot "G:/appserv/apache2.2"
#
# Listen: allows you to bind Apache to specific IP addresses and/or
# Ports, instead of the default. See also the <virtualhost>
# Directive.
#
# Change this to listen on specific IP addresses as shown below
# Prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
# Listen 192.168.1.4: 80
Listen 80
#
# This configuration file reflects default settings for Apache HTTP server.
#
# You may change these, but chances are that you may not need.
#
#
# Timeout: the number of seconds before between ES and sends time out.
#
Timeout 300
#
# Keepalive: whether or not to allow persistent connections (more
# One request per connection). set to "off" to deactivate.
#
Keepalive on
#
# Maxkeepaliverequests: the maximum number of requests to allow
# During a persistent connection. set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
Maxkeepaliverequests 100
#
# Keepalivetimeout: number of seconds to wait for the next request from
# Same client on the same connection.
#
Keepalivetimeout 5
#
# UseCanonicalName: determines how Apache constructs self-referencing
# URLs and the SERVER_NAME and server_port variables.
# When set "off", Apache will use the hostname and port supplied
# By the client. When set "on", Apache will use the value of
# Servername directive.
#
UseCanonicalName off
#
# Accessfilename: the name of the file to look for in each directory
# For Additional configuration directives. See also the AllowOverride
# Directive.
#
Accessfilename. htaccess
#
# ServerTokens
# This Directive configures what you return as the server HTTP Response
# Header. The default is 'full' which sends information about the OS-type
# And compiled in modules.
# Set to one of: full | OS | minor | minimal | major | Prod
# Where full conveys the most information, and prod the least.
#
ServerTokens full
#
# Optionally add a line containing the server version and virtual host
# Name to server-generated pages (internal error documents, FTP directory
# Listings, mod_status and mod_info output etc., but not CGI generated
# Documents or custom error documents ).
# Set to "email" to also include a mailto: Link to the serveradmin.
# Set to one of: On | off | email
#
Serversignature on
#
# Hostnamelookups: log the names of clients or just their IP addresses
# E.g., www.apache.org (on) or 204.62.129.132 (off ).
# The default is off because it 'd be overall better for the net if people
# Had To knowinugly turn this feature on, since enabling it means that
# Each client request will result in at least one lookup request to
# Nameserver.
#
Hostnamelookups off
#
# Dynamic shared object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# Have To place corresponding 'loadmodule' lines at this location so
# Directives contained in it are actually available _ before _ they are used.
# Statically compiled modules (those listed by 'httpd-l') do not need
# To be loaded here.
#
# Example:
# Loadmodule foo_module modules/mod_foo.so
#
Loadmodule actions_module modules/mod_actions.so
Loadmodule alias_module modules/mod_alias.so
Loadmodule asis_module modules/mod_asis.so
Loadmodule auth_basic_module modules/mod_auth_basic.so
# Loadmodule auth_digest_module modules/mod_auth_digest.so
# Loadmodule authn_anon_module modules/mod_authn_anon.so
# Loadmodule authn_dbm_module modules/mod_authn_dbm.so
Loadmodule authn_default_module modules/mod_authn_default.so
Loadmodule authn_file_module modules/mod_authn_file.so
# Loadmodule authz_dbm_module modules/mod_authz_dbm.so
Loadmodule authz_default_module modules/mod_authz_default.so
Loadmodule authz_groupfile_module modules/mod_authz_groupfile.so
Loadmodule authz_host_module modules/mod_authz_host.so
Loadmodule authz_user_module modules/mod_authz_user.so
Loadmodule autoindex_module modules/mod_autoindex.so
# Loadmodule cern_meta_module modules/mod_cern_meta.so
Loadmodule cgi_module modules/mod_cgi.so
# Loadmodule dav_module modules/mod_dav.so
# Loadmodule dav_fs_module modules/mod_dav_fs.so
# Loadmodule deflate_module modules/mod_deflate.so
Loadmodule dir_module modules/mod_dir.so
Loadmodule env_module modules/mod_env.so
# Loadmodule expires_module modules/mod_expires.so
# Loadmodule file_cache_module modules/mod_file_cache.so
# Loadmodule headers_module modules/mod_headers.so
Loadmodule imagemap_module modules/mod_imagemap.so
Loadmodule include_module modules/mod_include.so
# Loadmodule info_module modules/mod_info.so
Loadmodule isapi_module modules/mod_isapi.so
Loadmodule log_config_module modules/mod_log_config.so
Loadmodule mime_module modules/mod_mime.so
# Loadmodule mime_magic_module modules/mod_mime_magic.so
# Loadmodule proxy_module modules/mod_proxy.so
# Loadmodule proxy_ajp_module modules/mod_proxy_ajp.so
# Loadmodule proxy_balancer_module modules/mod_proxy_balancer.so
# Loadmodule proxy_connect_module modules/mod_proxy_connect.so
# Loadmodule proxy_http_module modules/mod_proxy_http.so
# Loadmodule proxy_ftp_module modules/mod_proxy_ftp.so
Loadmodule negotiation_module modules/mod_negotiation.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 unique_id_module modules/mod_unique_id.so
Loadmodule userdir_module modules/mod_userdir.so
# Loadmodule usertrack_module modules/mod_usertrack.so
# Loadmodule vhost_alias_module modules/mod_vhost_alias.so
# Loadmodule ssl_module modules/mod_ssl.so
Loadmodule php5_module G:/appserv \ PhP5 \ php5apache2_2.dll
# 'Main' Server Configuration
#
# The directives in this section set up the values used by the 'main'
# Server, which responds to any requests that aren't handled by
# <Virtualhost> definition. These values also provide defaults
# Any <virtualhost> containers you may define later in the file.
#
# All of these directives may appear inside <virtualhost> containers,
# In which case these default settings will be overridden for
# Virtual host being defined.
#
#
# Serveradmin: Your address, where problems with the server shocould be
# E-mailed. This address appears on some server-generated pages, such
# As error documents. e.g. admin@your-domain.com
#
Serveradmin admin@jswkj.com
#
# Servername gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# It explicitly to prevent problems during startup.
#
# If your host doesn' t have a registered DNS name, enter its IP address here.
#
Servername 192.168.1.4
# Bindaddress 192.168.1.4
#
# DocumentRoot: the directory out of which you will serve your
# Events. By default, all requests are taken from this directory,
# Symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "G:/appserv/www"
#
# Each directory to which Apache has access can be configured with respect
# To which services and features are allowed and/or disabled in that
# Directory (and its subdirectories ).
#
# First, we configure the "default" to be a very restrictive set
# Features.
#
<Directory/>
Options followsymlinks execcgi Indexes
AllowOverride none
Order deny, allow
Deny from all
Satisfy all
</Directory>
#
# Note that from this point forward you must specifically allow
# Particle features to be enabled-so if something's not working
# You might reset CT, make sure that you have specifically enabled it
# Below.
#
#
# This shoshould be changed to whatever you set DocumentRoot.
#
<Directory "G:/appserv/www">
#
# Possible values for the options directive are "NONE", "all ",
# Or any combination:
# Indexes includes followsymlinks symlinksifownermatch execcgi Multiviews
#
# Note that "Multiviews" must be named * explicitly * --- "options all"
# Doesn' t give it to you.
#
# The options directive is both complicated and important. Please see
# Http://httpd.apache.org/docs/2.2/mod/core.html#options
# For more information.
#
Options indexes followsymlinks Multiviews execcgi
#
# AllowOverride controls what directives may be placed in. htaccess files.
# It Can Be "all", "NONE", or any combination of the keywords:
# Options fileinfo authconfig limit
#
AllowOverride all
#
# Controls who can get stuff from this server.
#
Order allow, deny
Allow from all
</Directory>
#
# Directoryindex: sets the file that Apache will serve if a directory
# Is requested.
#
<Ifmodule dir_module>
Directoryindex index. php index.html index.htm
</Ifmodule>
#
# The following lines prevent. htaccess and. htpasswd files from being
# Viewed by web clients.
#
<Filesmatch "^ \. ht">
Order allow, deny
Deny from all
</Filesmatch>
#
# Errorlog: the location of the error log file.
# If you do not specify an errorlog directive within a <virtualhost>
# Container, error messages relating to that virtual host will be
# Logged here. If you * do * define an error logfile for a <virtualhost>
# Container, that host's errors will be logged there and not here.
#
Errorlog logs/error. Log
#
# Loglevel: control the number of messages logged to the error_log.
# Possible values include: Debug, info, notice, warn, error, crit,
# Alert, emerg.
#
Loglevel warn
<Ifmodule log_config_module>
#
# The following Directives define some format nicknames for use
# A customlog Directive (see below ).
#
Logformat "% H % L % u % t \" % R \ "%> S % B \" % {Referer} I \ "\" % {User-Agent} I \ "" combined
Logformat "% H % L % u % t \" % R \ "%> S % B" common
<Ifmodule logio_module>
# 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
</Ifmodule>
#
# The location and format of the access logfile (Common logfile format ).
# If you do not define any access logfiles within a <virtualhost>
# Container, they will be logged here. Contrariwise, if you * do *
# Define per-<virtualhost> access logfiles, transactions will be
# Logged therein and * not * in this file.
#
Customlog logs/access. Log common