php 上下文修改路徑
打開 apache conf/httpd.conf 文件,修改其中的默認屬性:DocumentRoot#
# 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 "D:/php/project/"
# 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 "D:/php/project/"
#
# 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
# Satisfy all
</Directory>
posted on 2009-11-19 12:39 星期五 閱讀(274) 評論(0) 編輯 收藏 所屬分類: server