• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Apache permissions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apache permissions


  • Subject: Re: Apache permissions
  • From: Nathan Duran <email@hidden>
  • Date: Mon, 24 Dec 2007 08:19:12 -0800


On Dec 24, 2007, at 3:34 AM, Mark Gilbert wrote:

Hi Folks.

Our application leverages Apache as an http file access mechanism.

Under Tiger we create a symbolic link to the root of the hard disc (eg MacHD) inside the Apache Document Root (/Library/WebServer), following which we can access files on the drive via

http://[ipaddr]/MacHD/myfolder/myfile

This all works so simply in Tiger, and Tiger Server.

Recentlt we have tried to set the same thing up in Leopard, but we are being consistently denied permission to access files and folders via this SymLink mechanism using the same technique as in Tiger. Trying to change permissions on the drive doesn't help.

Clearly something has changed in the permissions for Apache accessing files outside of the document root. I have ploughed through some of the apache config docs without luck and I wondered if anyone could tell me what changed in Leopard and how to fix it.

Any tips would be very welcome.


If you did any kind of upgrade install from Tiger to Leopard then numerous file permissions are more than likely completely screwed up thanks to some pretty poor migration code. Check the owner and group of all your config files (remember that your user ID is more than likely no longer 501, and that an "unknown" group ID is indicative of a problem). Apache gave me nothing but 403s until I went and deleted everything in /etc/apache2/users/ and re-created them from scratch.

And of course, make sure you're telling Apache to follow symlinks to begin with. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Apache permissions
      • From: Mark Gilbert <email@hidden>
References: 
 >Apache permissions (From: Mark Gilbert <email@hidden>)

  • Prev by Date: Apache permissions
  • Next by Date: Re: Apache permissions
  • Previous by thread: Apache permissions
  • Next by thread: Re: Apache permissions
  • Index(es):
    • Date
    • Thread