日期:2014-05-17  浏览次数:20692 次

Apache 配置

1、修改DocumentRoot

?

2、

?

<Directory />
    Options FollowSymLinks
	
    AllowOverride None
    Order deny,allow
    allow from all
</Directory>

?

3、<Directory "D:/备份资料/MyDocument/Aptana Studio Workspace/">

    #
    # 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 ALL

    #
    # 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 None

    #
    # Controls who can get stuff from this server.
    #
    Order allow,deny
    Allow from all

</Directory>

?

4、DirectoryIndex

?

?