加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

php AppServ2.0建立虚拟目录

(2011-03-29 14:37:35)
标签:

宋体

重启

目录

虚拟

文件夹

php

appserv

it

要修改的文件是: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

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有