Re: permissions on symlink/alias [solved]

Jason Huck <[email protected]> Mon, 30 Jun 2003 22:49:54 -0400
Newsgroups gmane.comp.audio.netjuke.user
Message-ID <BB266F12.8451%[email protected]>
It was the permissions on the parent directory (in this case my home
directory) that was causing the problem. I had to change this to 755 to get
apache to read its contents and generate an index.



> Apache 2.0 on Red Hat Linux (my new toy)
> 
> I created a sym link from '/home/jason/Music' to
> '/var/www/html/netjuke/var/music' by dragging the folder from one window to
> the other and selecting "Link to here." from the contextual menu. I assume
> this is the same as issuing 'ln -s ...etc...' from the terminal.
> 
> Unfortunately, whenever I try to get netjuke to look in this directory, I
> get an error saying the directory does not exist or is unreadable.
> 
> I've set permissions on both the original folder and the sym link to 777. I
> changed the owner to root. I changed the owner to Apache. No luck.
> 
> I checked my httpd.conf file and FollowSymLinks is included in the Options
> for the default host. There are no virtual hosts configured.
> 
> I also tried creating an Alias in httpd.conf and specifying Allow From All,
> just the example in the docs. No change.
> 
> What am I overlooking?



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01