Apache Server configuration support - Symbolic link not allowed or link target not accessible

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > August 2006 > Symbolic link not allowed or link target not accessible





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Symbolic link not allowed or link target not accessible
Hans

2006-08-23, 7:42 am

Hi

I am running Apache 2.2.3 on Ubuntu 6.06
I have a symbolic link in htdocs to /home/ijntema/pictures;
The directory has following settings:

drwxr-x--- 68 ijntema media 4096 2006-08-23 09:37 ijntema

In the group file
media:x:109:atron,www-data,ijntema

Apache runs as www-data (als confirmed via ps -ef)

If I "su" to www-data, I can access /home/ijntema/pictures
Seems to me that access rights are OK

The httpd.conf seems OK to. ( I have added FollowSymLinks)

I can only get it to work if I make hoem directory and pictures directory
world readible:
drwxr-xr-x 68 ijntema media 4096 2006-08-23 09:37 ijntema
(which confirms that httpd.conf is OK?)

Where do I miss the point? It seems to me that www-data user (hence apache)
can access the /home/ijntema/pictures
But, I can only get it to work when this directory is world
readible....which I prefer not to do

Thnx
Hans



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com