xampp virtual host 403 forbidden in other directory code example
Example: xampp virtual host Access forbidden!
Check your error logs you find out the error is
"Options FollowSymLinks and SymLinksIfOwnerMatch are both off,
so the RewriteRule directive is also forbidden due to its similar ability
to circumvent directory restrictions"
This error seems to be solved by adding
<directory "C:/xampp/htdocs/ocosystem/trunk/ocosystem/public">
Allow from all
</directory>
Full way like this :
<VirtualHost *:80>
ServerName ocosystem
DocumentRoot "C:/xampp/htdocs/ocosystem/trunk/ocosystem/public"
ErrorLog "C:/xampp/htdocs/ocosystem/trunk/ocosystem/storage/logs/ocosystem-error.log"
CustomLog "C:/xampp/htdocs/ocosystem/trunk/ocosystem/storage/logs/ocosystem-access.log" combined
<Directory "C:/xampp/htdocs/ocosystem/trunk/ocosystem/public">
Require all granted
</Directory>
</VirtualHost>