[Ilugc] Httpd Error: "Symbolic Link not a allowded"
- From: rajasuperman@xxxxxxxxx (Raja Subramanian)
- Date: Fri May 26 00:48:31 2006
Hi,
On 5/25/06, Binand Sethumadhavan <binand@xxxxxxxxx> wrote:
On 25/05/06, babu jayapaul <babu_jayapaul@xxxxxxxxx> wrote:
ln -s /repository/Fedora
Symbolic link not allowed: /var/www/html/yum
Notice something?
To the original poster:
Apache will typically not follow sym links outside your DocumentRoot.
The reason is obvious, a symlink inside the DocumentRoot pointing to
the root dir "/" will totally expose your entire file system to the web.
To redirect
http://foo.com/yum to /repository/Fedora add the following
line to the appropriate section of your apache config file:
Alias /yum /repository/Fedora
Note: the lack of trainling slashes on the path names are significant.
As Binand suggests, please do some homework before posting
questions. Reading through comments in your apache config files
should be a good start. Verbatim copying + pasting your error
messages on google produces surprisingly good results.
- Raja
Other related posts: