Link into Http webserver

Support for webhosts that use CentOS
Post Reply
Steph
Posts: 1
Joined: 2005/05/13 19:08:41

Link into Http webserver

Post by Steph » 2005/05/13 19:36:40

Hello,

I did try to plac a link into a my folder /var/www/htnl/pub/(link folder)
I did use : ' ln -s /home/user1 /var/www/html/pub
Unfortunately, ALL my links are not visible on the Web !!

Any why ??

PS: this, was working on WhiteBoxLinux.....

My httpd.conf is attached..

Thanks in advance

Steph

z00dax
Posts: 220
Joined: 2004/11/30 22:04:52
Location: London - UK
Contact:

Link into Http webserver

Post by z00dax » 2005/05/14 17:12:40

permissions issue ?

cormander
Posts: 100
Joined: 2005/05/16 21:27:57
Location: Utah
Contact:

Re: Link into Http webserver

Post by cormander » 2005/05/16 21:42:15

Make sure the directory has the following enabled either by a httpd.conf file or .htacess file:

Options FollowSymLinks

Some distrobutions have this disabled by default, which would give you permission denied when you try to view a web page over a symlink.

Also, make sure the user who is running httpd has read access to the full path of the symlink, and the files you're targeting.

dsegall
Posts: 22
Joined: 2005/02/08 18:37:42
Location: All up in it...
Contact:

Re: Link into Http webserver

Post by dsegall » 2005/06/15 14:46:15

This could also be an selinux issue. I remember having a hell of a time getting anything that wasn't in the web docroot accessible.

Post Reply

Return to “CentOS 4 - Webhosting Support”