Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

398
Views
Mac OS Catalina webserver error : Forbidden You don't have permission to access this resource

I have a problem with my localhost under mac OS Catalina; here is my error obtained, I followed this tutorial https://www.youtube.com/watch?v=hVHFPzjp064 for the procedure to properly configure my local server, if you can help me solve this problem, maybe it is a security on new macs.

My error:

Forbidden
You don't have permission to access this resource.

I thank you in advance

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

The issue is that the php module is disabled in Catalina. You have to enable it in /etc/apache2/httpd.conf. Follow these steps.

  1. Open Terminal and type sudo nano /etc/apache2/httpd.conf. Enter password when prompted.
  2. Find #LoadModule php7_module libexec/apache2/libphp7.so and uncomment it (delete the leading #)
  3. To make Apache use index.php first,

scroll down and find the following

<IfModule dir_module>
    DirectoryIndex index.html
</IfModule>

change to

<IfModule dir_module>
    DirectoryIndex index.php index.html
</IfModule>
  1. Press Control + X then Y to save changes. Press enter when prompted for filename
  2. Restart apache by typing sudo apachectl restart

Now your site root should work since php is enabled.

over 4 years ago · Santiago Trujillo Report

0

Quick note to say that the httpd.conf is exactly the same in Big Sur, so the same changes as above need to be applied.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!