Re: Apache permissions
Re: Apache permissions
- Subject: Re: Apache permissions
- From: Mark Gilbert <email@hidden>
- Date: Mon, 24 Dec 2007 18:58:35 +0000
Hey Nathan
Thanks for your reply. I had seen the same problem on 2 Leopard
systems and I was starting to despair
I just tried this on another machine which had been Clean installed
with Leopard, and guess what ?
.......Worked first time.
Sounds like permissions snafu is the problem - I will recommend a
clean Leopard install to our users.!
Thanks again
Cheers
Mark.
At 08:19 -0800 24/12/07, Nathan Duran wrote:
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.
--
email@hidden
Tel: +44 208 340 5677
fax: +44 870 055 7790
http://www.gallery.co.uk
_______________________________________________
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