How to get Apache to follow symbolic links in OSX / XAMPP?

I am trying to get Apache to follow symbolic links. I get "Access Denied!". message.

I understand that this is probably a rights issue.

So far I have tried:

  • Installing the source directory in chmod 777
  • Adding xampp / apache user 'nobody' to the group 'admin' and 'staff'
  • And the alias and apache alias directives (both give me a forbidden message)

A source:

1228833 drwxr-xr-x 27 eric staff 918 June 1, 09:55 a.m.
332009 drwxr-xr-x + 40 eric staff 1360 May 22, 10:41 a.m.
1228879 -rw-rr - @ 1 eric staff 24580 Jun 1 09:55 .DS_Store
30604402 lrwxr-xr-x 1 eric staff 93 Jun 1 09:07 YellowFinTunaPages β†’ / Users / ericmiller / Dropbox / _iSirona / iSirona Product Development / Prototypes / YellowFinTunaPages /

Appointment:

30602721 drwxr-xr-x 4 eric staff 136 June 1, 09:10.
1286885 drwxr-xr-x @ 11 eric staff 374 Jun 1 09:04 ..
30606068 -rw-rr - @ 1 eric staff 6148 June 1 09: 10.DS_Store
30602745 drwxrwxrwx 10 eric staff 340 Jun 1 09:05 YellowFinTunaPages

+4
source share
1 answer

Disables permissions for the folder depending on the folder above it. I did not understand this. I had chmod 755 all the previous directory tree. I want a better solution - in fact, I do not want to allow wide access to the entire tree, only a subfolder.

Apache will not follow symbolic links (403 Forbidden)

+4
source

Source: https://habr.com/ru/post/1415602/


All Articles