正在研究zend framework框架,为了访问方便,通常要配置虚拟主机,wampserver下zend framework项目虚拟主机配置很简单:
只要在httpd.conf中加入下面配置内容即可:
NameVirtualHost *:80
ServerAdmin phpddt.com@gmail.com
DocumentRoot "F:/web/zf/public"
ServerName zf.com
DirectoryIndex index.php
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all