apache problem with soft link

Gordon Messmer yinyang at eburg.com
Tue Jan 24 01:35:47 UTC 2006

Michael D. Berger wrote:
> They all work except the last one that I added.  The jpg file is
> properly displayed if I move it to the http directory, but not
> through the link.

You're probably running in to SELinux restrictions.  You may need to use 
"chcon" to change the "type" of the files that are the targets of your 
symlinks, so that httpd can read them.

Try "chcon -t httpd_user_content_t" for the destination files and 

Also, watch the file /var/log/messages.  The kernel should be telling 
you what was denied, and why.

More information about the users mailing list