cancel
Showing results for 
Search instead for 
Did you mean: 

403 Forbidden error

SOLVED

403 Forbidden error

I've created a simple hello world file by following a tutorial online. 

 

I have a wamp server with magento 2 installed correctly. However, as soon as i want to test my code by going to localhost/magento2 .... I get a 403 fobidden error: 

 

"You don't have permission to access /Magento2/app/ on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request." 

 

Any help will be greatly appreciated. 

3 REPLIES

Re: 403 Forbidden error

Hello greg_taylor

 

mW5je

 

<Directory "C:/wamp/www/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require all granted
</Directory>
If it has local then  change below and above mention as well

Require local

Change to

Require all granted
Order Deny,Allow
Allow from all

 

hope it will help you, if works then mark as solution.

Re: 403 Forbidden error

Sorry, i'm a bit confused on what it is I have to do. Where am i making these changes ? 

I've only just started Magento today. 

Re: 403 Forbidden error

Hello greg_taylor


It's permission issue. As  you use wamp, Please open httpd.conf or  httpd-vhosts.conf. please use my previous screen shot, How you can open this files. And change below 

<Directory "C:/wamp/www/">Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require all granted</Directory>

Please check below video how to fix this issue in wamp.

https://www.youtube.com/watch?v=QDXUvhSE-4s
https://www.youtube.com/watch?v=YNstbM1xwdA


Hope it will help you, if works then mark as solution.