php AppServ2.0建立虚拟目录
(2011-03-29 14:37:35)
标签:
宋体重启目录虚拟文件夹phpappservit |
|
要修改的文件是:apache目录下conf中的httpd.conf文件, 在文件中找到以下的内容
DocumentRoot
"d:/AppServ/www" #
# 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 ExecCGI Indexes AllowOverride None Order deny,allow Deny from all Satisfy all </Directory> 如果要设置虚拟目录,假设给F盘test文件夹建立,则在这些内容的下方再添加以下的内容 Alias /test
"F:/test/"
<Directory "F:/test/"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> 重启一下apache服务,就可以直接用 重启一下AppServ
开始--->所有程序--->AppServ--->Control
Server by Service
|

加载中…