wamp下http.conf虚拟路径的配置

简介:这是wamp下http.conf虚拟路径的配置的详细页面,介绍了和php,有关的知识、技巧、经验,和一些php源码等。

class='pingjiaF' frameborder='0' src='http://biancheng.dnbcw.info/pingjia.php?id=327022' scrolling='no'>

1、打开LoadModule rewrite_module modules/mod_rewrite.so

2、打开

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

3、在httpd-vhosts.conf中配置虚拟访问路径

<VirtualHost *:80>
DocumentRoot "D:\wamp\www\zfProject"
ServerName nation.demo
SetEnv APPLICATION_ENV "development"
<Directory D:\wamp\www\zfProject>
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot D:\wamp\www
ServerName localhost
</VirtualHost>

“wamp下http.conf虚拟路径的配置”的更多相关文章 》

爱J2EE关注Java迈克尔杰克逊视频站JSON在线工具

http://biancheng.dnbcw.info/php/327022.html pageNo:12
原文地址:https://www.cnblogs.com/ooooo/p/2250882.html