I try to setup kohana 3 project as virtual host.
Config:
<VirtualHost *:80> DocumentRoot "D:/Devel/matysart/matysart_dev1" ServerName matysart-one.local ServerAlias www.matysart-one.local DirectoryIndex index.php </VirtualHost>
Error (403):
[client 127.0.0.1] client denied by server configuration: D:/Devel/matysart/matysart_dev1/
Could somebody help?
Using mod_security with an explicit directive to deny access. Altering or commenting out the offending directives from that module will resolve the issue.
In my case, I modified directory tag.
From
<Directory "D:/Devel/matysart/matysart_dev1"> Allow from all Order Deny,Allow </Directory>
To
<Directory "D:/Devel/matysart/matysart_dev1"> Require local </Directory>
And it seriously worked. It's seems changed with Apache 2.4.2.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With