类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

PHP5的配置问题! 20

php5完全攻略上 有一段写的是: 把Apache网站的根目录修改为D盘My Website的htdocs目录,找到如下一行代码:DocumentRoot "C:/Single Machine Tool/Apache Software Foundation/Apache2.2/htdocs" 修改为: "D:/Website/htdocs" 这本书的例子 是把Apach... 展开
我有更好的答案
邀请更新
发布于2011-03-13 15:38 最佳答案
放php文件jscsshtml全放

#DocumentRoot "C:/www/apache5/htdocs"
DocumentRoot "D:/www"
#1111111111111
# 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 />
Options FollowSymLinks
AllowOverride none
Order deny,allow
Deny from 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 "C:/www/apache5/htdocs">
<Directory "D:/www">
#2222222222222222

第二处必须保持随便改文件夹#apache注释符号
东西随便改改 都行

为您推荐: