apache 局域网访问配置方案第1/2页

2019-10-15 22:06:41于丽


#   

<Directory "g:/AppServ/www">  

    #  

    # Possible values for the Options directive are "None", "All",  

    # or any combination of:  

    #   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