Apache 设置zend骨架应用程序
我正在尝试在我的Windows 10计算机中设置zend skeleton应用程序。但是,由于端口80不可用,我尝试在端口8080上进行配置。但每次我都没有得到zend skeleton页面。我只看到apache页面上写着“它可以工作”。请说明我做错了什么 在apache httpd.conf中,我做了以下更改:Apache 设置zend骨架应用程序,apache,zend-framework,Apache,Zend Framework,我正在尝试在我的Windows 10计算机中设置zend skeleton应用程序。但是,由于端口80不可用,我尝试在端口8080上进行配置。但每次我都没有得到zend skeleton页面。我只看到apache页面上写着“它可以工作”。请说明我做错了什么 在apache httpd.conf中,我做了以下更改: Listen 8080 ServerName localhost:8080 在httpd-vhosts.conf中: <VirtualHost *:80> Ser
Listen 8080
ServerName localhost:8080
在httpd-vhosts.conf中:
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "${SRVROOT}/docs/dummy-host.example.com"
ServerName dummy-host.example.com
ServerAlias www.dummy-host.example.com
ErrorLog "logs/dummy-host.example.com-error.log"
CustomLog "logs/dummy-host.example.com-access.log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "${SRVROOT}/docs/dummy-host2.example.com"
ServerName dummy-host2.example.com
ErrorLog "logs/dummy-host2.example.com-error.log"
CustomLog "logs/dummy-host2.example.com-access.log" common
</VirtualHost>
<VirtualHost *:8080>
ServerName zendskeleton.localhost
DocumentRoot C:/zendskeleton/public
SetEnv APPLICATION_ENV "development"
<Directory C:/zendskeleton/public>
DirectoryIndex index.php
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
当您单击Wamp图标(任务栏图标)->Apache->Apache模块时,模块“重写模块”是否为绿色选中?在.htaccess中有规则吗?使用它。无论是什么,都不应该占用端口80。
127.0.0.1 zendskeleton.localhost localhost