Re: 403 Forbidden Mac - Magento Forums
cancel
Showing results for 
Search instead for 
Did you mean: 

403 Forbidden Mac

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

403 Forbidden Mac

Hi all,

 

I have downloaded the latest version of Magento 2 for my Mac. 

 

I unzipped the file and placed the contents of the extracted folder into the following folder: Library/Webserver/Documents/Magento

 

When I got to http://localhost/magento/ on Chrome, I get the 403 forbidden error.

 

Any help appreciated!

Thanks

J

 

P.S. I followed the steps in the following tutorial: https://www.youtube.com/watch?v=EJRaCzPUqic

4 REPLIES 4

Re: 403 Forbidden Mac

Hello @JuicyJ ,

Can you please check the error logs once.

Re: 403 Forbidden Mac

Hi Gulshan, thanks for your reply.

 

The Apache2 error log is shown below:

 

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.0.6. Set the 'ServerName' directive globally to suppress this message
[Thu Apr 25 07:12:00.632268 2019] [mpm_prefork:notice] [pid 536] AH00163: Apache/2.4.28 (Unix) configured -- resuming normal operations
[Thu Apr 25 07:12:00.632652 2019] [core:notice] [pid 536] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Apr 25 07:16:31.229334 2019] [core:error] [pid 544] (13)Permission denied: [client 192.168.0.6:49472] AH00035: access to /magento/index.html denied (filesystem path '/Library/WebServer/Documents/magento/index.html') because search permissions are missing on a component of the path
[Thu Apr 25 07:16:44.563800 2019] [core:error] [pid 544] (13)Permission denied: [client 192.168.0.6:49474] AH00035: access to /magento/index.html denied (filesystem path '/Library/WebServer/Documents/magento/index.html') because search permissions are missing on a component of the path
[Thu Apr 25 07:22:51.288311 2019] [core:error] [pid 557] (13)Permission denied: [client ::1:49701] AH00035: access to /magento/index.html denied (filesystem path '/Library/WebServer/Documents/magento/index.html') because search permissions are missing on a component of the path
[Thu Apr 25 07:24:29.428379 2019] [core:error] [pid 558] (13)Permission denied: [client ::1:49714] AH00035: access to /magento/index.html denied (filesystem path '/Library/WebServer/Documents/magento/index.html') because search permissions are missing on a component of the path
[Thu Apr 25 07:28:43.503579 2019] [core:error] [pid 600] (13)Permission denied: [client ::1:49716] AH00035: access to /magento/index.html denied (filesystem path '/Library/WebServer/Documents/magento/index.html') because search permissions are missing on a component of the path
[Thu Apr 25 07:31:47.427320 2019] [autoindex:error] [pid 559] [client ::1:49718] AH01276: Cannot serve directory /Library/WebServer/Documents/magento/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Thu Apr 25 07:34:32.645753 2019] [autoindex:error] [pid 544] [client ::1:49720] AH01276: Cannot serve directory /Library/WebServer/Documents/magento/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Thu Apr 25 07:34:35.243116 2019] [autoindex:error] [pid 544] [client ::1:49720] AH01276: Cannot serve directory /Library/WebServer/Documents/magento/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Thu Apr 25 07:36:11.933457 2019] [autoindex:error] [pid 557] [client ::1:49751] AH01276: Cannot serve directory /Library/WebServer/Documents/magento/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive

 

 

Re: 403 Forbidden Mac

Hi @JuicyJ 

 

As I can see in the error log you need to check the permissions of magento directory. I think you don't have read and write permissions to root directory or file inside the root directory.

 

OR

 

Use this link to access your "http://localhost/magento/index.php". Might be your server PHP DirectoryIndex is set to index.html. I think you need to add index.php in your apache server DirectoryIndex. You can add that in httpd.conf file.

 

I hope it will work for you.

 

Thanks

--

If my answer is useful, please Accept as Solution & give Kudos

 

Re: 403 Forbidden Mac

Okay, I have tried a new method.

 

I installed MAMP, Composer, and Magento2 using the tutorial at the following site: http://paulmestereaga.com/install-magento-2-locally-mamp/

 

Everything seems to be set up, except when I try and run the Magento web installation wizard from the following link: http://localhost:8888/magento2/setup/

 

I receive an error code 500, this page is not working. 

localhost is currently unable to handle this request.

HTTP ERROR 500