Hi there,
I’ve apache2 problem again.
I want to create a new ZF 2 application in my desktop PC (openSUSE 13.2 is installed). I saw some instruction on the ZF’s webpage, but if I follow the documentation I got an “Access forbidden!” error (403).
I installed the yast2-httpd-server package to manage apache2 (v2.4.10) and I created one new vhost with it. It work for a little, but mod_rewrite was disabled and I got error again (404). After this I enable the rewrite module. If I set AllowOverride attribute to “FileInfo” the full webpage doesn’t work again (403).
Here is my current .conf file:
<VirtualHost *>
DocumentRoot /home/richard/Projects/project_name/public
ServerName project_name.dev
ServerAdmin richard@localhost
<Directory /home/richard/Projects/project_name/public>
AllowOverride None
Require all granted
</Directory>
</VirtualHost>
It’s created with Yast2, but the frontpage works just now, subpages gain 404 again.
In the error.log I’ve a lot of line with:
[Thu Mar 05 23:13:31.695186 2015] [authz_core:error] [pid 25695] [client 127.0.0.1:59161] AH01630: client denied by server configuration: /home/richard/Projects/project_name/public/
How can I configure apache2 to work with Zend Framework 2?
If you need more information from either config file just say it.