httpd:#
### Section 1: Global Environment
#
ServerType standalone#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
ServerRoot "C:/Program Files/Apache Group/Apache"#
# PidFile: The file in which the server should record its process
# identification number when it starts.
#
PidFile logs/httpd.pid#
#
ScoreBoardFile logs/apache_runtime_status
Timeout 300KeepAlive On
#
MaxKeepAliveRequests 100
KeepAliveTimeout 15#
MaxRequestsPerChild 0ThreadsPerChild 50#
#Listen 3000
#Listen 12.34.56.78:80#
#BindAddress *#
# Dynamic Shared Object (DSO) Support
#
##
Port 80#ServerAdmin [email protected]#
ServerName www.86.com.cn
#
<Directory "d:/kuan/86">
    Options FollowSymLinks
    AllowOverride None
</Directory>
<Directory "C:/Program Files/Apache Group/Apache/htdocs">
    Order allow,deny
    Allow from all
</Directory>##
<IfModule mod_userdir.c>
    UserDir "C:/Program Files/Apache Group/Apache/users/"
</IfModule>
#
<IfModule mod_dir.c>
    DirectoryIndex index.html
    DirectoryIndex index.php
    DirectoryIndex index.86
</IfModule>
AccessFileName .htaccess#
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</Files>
#
UseCanonicalName On
<IfModule mod_mime.c>
    TypesConfig conf/mime.types
</IfModule>#DefaultType text/plain
<IfModule mod_mime_magic.c>
    MIMEMagicFile conf/magic
</IfModule>
HostnameLookups Off#
# ErrorLog: The location of the error log file.#
ErrorLog logs/error.log
#
<IfModule mod_alias.c>  
    Alias /icons/ "C:/Program Files/Apache Group/Apache/icons/"    <Directory "C:/Program Files/Apache Group/Apache/icons">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>   
    #
    Alias /manual/ "C:/Program Files/Apache Group/Apache/htdocs/manual/"    <Directory "C:/Program Files/Apache Group/Apache/htdocs/manual">
        Options Indexes FollowSymlinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>    #
   #<Directory "c:/php">
 #       AllowOverride None
  #      Options None
   #     Order allow,deny
    #    Allow from all
#</Directory></IfModule><IfModule mod_autoindex.c>    #
    # FancyIndexing is whether you want fancy directory indexing or standard
    #
    # Note, add the option TrackModified to the IndexOptions default list only
    # if all indexed directories reside on NTFS volumes.  The TrackModified flag
    #
    IndexOptions FancyIndexing    #
    # AddIcon* directives tell the server which icon to show for different
    # files or filename extensions.  These are only displayed for
    # FancyIndexed directories.
    #
   
    HeaderName HEADER  </IfModule>
        ScriptAlias /php/ "C:/php/"    AddType application/x-httpd-php4 .php 
    AddType application/x-httpd-php4 .86    Action application/x-httpd-php4 "/php/php.exe"   
    
</IfModule>
<IfModule mod_setenvif.c>    ## support keepalive when it is used on 301 or 302 (redirect) responses.
    #
    BrowserMatch "Mozilla/2" nokeepalive
    BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0    #
    # The following directive disables HTTP/1.1 responses to browsers which
    # are in violation of the HTTP/1.0 spec by not being able to grok a
    # basic 1.1 response.
    #
    BrowserMatch "RealPlayer 4\.0" force-response-1.0
    BrowserMatch "Java/1\.0" force-response-1.0
    BrowserMatch "JDK/1\.0" force-response-1.0</IfModule>