user2451714
user2451714

Reputation: 81

403 forbidden to localhost root MAMP Pro v2.2

I'm getting a 403 forbidden error on my localhost root. I think it's an apache error. I'm on a MBP OSX 10.7, MAMP Pro 2.2.

apache log:

    client 127.0.0.1] Directory index forbidden by Options directive:/Applications/MAMP/htdocs/ 

I've tried, with cc all every time;

Looking for documents/tutorials on 2.2

Fresh upgrade and install, and reinstalls

Checking ownership/changing permissions to 777

These

Changing the MAMP ports

changing the apache.conf directory, including trying various Options, from

    Options Includes
    AllowOverride None

to

    Options FollowSymLinks Indexes MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all

Please help, I'm feeling at my wits end and I'm not familiar with apache Directory perms

Upvotes: 8

Views: 13642

Answers (3)

sohaib
sohaib

Reputation: 349

MAMP PRO 4

  1. Click Hosts -> Apache.
  2. check the "indexes" checkbox.
  3. Click the Save button.

See the attached image.

enter image description here

Upvotes: -1

Spagsie
Spagsie

Reputation: 31

On the Mac 3.0.5 version of MAMP Pro the tab you need to select is Extended. Here's what the Mamp documentation says "Indexes Activates or deactivates "directory browsing". If there is no index.html, index.php, etc in the document root, the content of the folder is displayed when this option is enabled. Without this option, nothing will be displayed or an error message will appear."

Upvotes: 3

tebesfinwo
tebesfinwo

Reputation: 765

You can try the following method. In MAMP PRO Panel, go to "Host" > "Advanced" > check the "Indexes" and apply it.

Upvotes: 19

Related Questions