Symlinked MAMP Folder Causeing 403 Forbidden

I have a folder in my root MAMP directory, "site". I have a link associated with a folder in ~ / Documents / Dropbox / site, so everything that happens on the "site" is passed to Dropbox.

However, when I do this, I get a forbidden 403 error when trying to view localhost/site- this is a problem because I use PHP and I have to fix php.ini or this is httpd.conf problem

In httpd.conf I have AllowOverridea value set None.

Thanks for any answers in advance.

+3
source share
2 answers

Apache also has an option FollowSymlinksthat is disabled by default. You can enable it by doing

Options +FollowSymlinks
+4

, , , :

  • sudo su <username>, (, - nobody, nobody
  • # 1 - , /sbin/nologin, usermod, , , /bin/bash, , sudoing as them
  • Symlink root ,
  • Reset , # 2

0777, , (0644 ) - - Apache . , , . !

Edit: , , , , , , ?

0

All Articles