I’m going through the “Get Started With Phalcon” course and I’m on lesson “2.3 Controller and View Hello World”. When I visit the URL “localhost/phonebook” I’m getting a 403 error, Forbidden
You don’t have permission to access this resource. I don’t know if it helps but I’ve pasted the two .htaccess files below.
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ public/ [L]
RewriteRule ((?s).*) public [L]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^((?s).*)$ index.php?_url=/$1 [QSA,L]
</IfModule>