Question

I can't access my magento frontend. I get:

Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server.

Backend works. I executed this inside the project folder to fix the permissions:

find . -type f -print0 | xargs -0 chmod 644
find . -type d -print0 | xargs -0 chmod 755

But that was not changing anything. I also deleted the cache after it.

I also tried:

find . -type f -print0 | xargs -0 chmod 777
find . -type d -print0 | xargs -0 chmod 777

...temporarily. No difference...

I also deleted my .htaccess file and tried it again. But still Access forbidden!

Im not sure what is going on?

Était-ce utile?

La solution

Solved! After disabling extension after extension I found out, that the extension GeoIP Extension, from Mageworx was causing the access denied error.

The Extension needed write permission to the folder media/mageworx/geoip but the folder was not existing and thus causing the error.

So the GeoIP Extension just blocked every IP.

Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top