LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Forbidden Error message from Apache.. (https://www.linuxquestions.org/questions/linux-software-2/forbidden-error-message-from-apache-410343/)

gobi_dgm 02-01-2006 07:03 AM

'Forbidden:' Error message from Apache..
 
Hi
Im trying to access a softlink which is in one of our servers but im getting an error message like the one given below..

Forbidden
You don't have permission to access /gk on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

The errorlog file looks like this..

[Wed Feb 01 17:42:12 2006] [error] [client XX.XXX.XX.XX] Symbolic link not allowed: /var/www/html/gk

From many forums i find out that the possible reasons for this error message can be
1. Owner of the link and the file is not the same. or
2. FollowSymLinks is not enabled in the httpd.conf

But i checked the owner and enabled the FollowSymlinks in the httpd.conf file.
In the same time im able to access a hardlink from the same location. I couldn understand what the problem is..
Pl share your ideas to overcome this?

Thanks in advance
gk

egghead 02-02-2006 12:59 AM

Maybe its because that direcory is outside your DocumentRoot (/var/www/html). Hence it won't allow you to access it. Try creating an alias for the directory in httpd.conf and see if that works...


All times are GMT -5. The time now is 02:58 AM.