win下Apache修改主目录
来源:互联网 发布:sqlserver日志清理 编辑:程序博客网 时间:2024/05/22 17:40
打开httpd.conf
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "E:/website/"
#
# 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 of
# features.
#
<Directory "E:/website/">
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
Satisfy all
</Directory>
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "E:/website/">
#
# 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
#
# 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>
更多内容
欢迎点击我的个人网站:
http://justhinking.org
- win下Apache修改主目录
- Ubuntu主目录下修改各文件夹名称
- XAMPP在Mac下的apache站点主目录更改
- win下配置Apache+Python
- WIN下 Apache PHP 部署。
- win 7下卸载Apache
- ubuntu下修改用户名、用户组、登录名、主目录名
- apache配置虚拟主目录
- win 下 批量修改文件名
- 修改IIS主目录
- ftp修改主目录
- 修改Tomcat主目录
- jenkins主目录修改
- jenkins 主目录修改
- mac配置apache虚拟主目录
- Win下Apache+JK+Tomcat配置过程
- Win下apache+php+Tomcat配置
- win下Apache mysql PHP配置
- 陶陶书评 之 应需而变--设计的力量
- Sql Server设置外键约束和IIS支持flv文件
- 谈一下个人对百度相关搜索的见解
- [长大]_公益-腾讯月捐,顺便记录一下开通财付通
- 网站优化 要的就是细节
- win下Apache修改主目录
- sigaction 函数说明
- 浅谈站外优化的几点常用方法
- 应该如何思考SEO
- SEO应该如何认识外链
- 追求
- 怎样靠热门事件为网站增加流量
- WinCE 应用程序开机自动运行的又一种方法
- 总结最常见的10种错误链接