Forbidden Folder And Not Found On Server

I’m coming back to Yii2 now it’s in BETA having used the Alpha a fair bit. I have a couple of problems.

  1. I think this is actually a Mac issue as the problem doesn’t exist on my windows computer. I’m also new to Mac. I have an ‘images’ folder in my web folder alongside ‘assets’ and ‘css’. When I try to load an image I get a forbidden message.

  2. I enabled prettyUrl, made showEntryScript false and added the neccessary .htaccess. But now I find that my debugger “is not found on this server” the same for a simple about page. I did but in a rule of ‘about’ => ‘site/about’. But the same message?

What am I doing wrong here?

  1. Should be permissions issue.

  2. If you’re using PHP in cgi mode you have to turn off cgi.fix_pathinfo in php.ini.

The cgi_fixpathinfo is already commented out.

.htaccess is

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php


'urlManager' => [

'enablePrettyUrl' => true,

'showScriptName' => false,

'rules' => [

'about' => 'site/about',



Think i’ve sorted the permissions, I didn’t apply it to the files of the folder

It should not be commented out. It should be cgi.fix_pathinfo=0

I’ve set


Still getting the requested URL /localhost/web/debug/defualt/toolbar was not found on this server