LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-01-2006, 07:03 AM   #1
gobi_dgm
Member
 
Registered: Feb 2005
Location: Bangalore
Distribution: FC3
Posts: 137

Rep: Reputation: 15
'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

Last edited by gobi_dgm; 02-01-2006 at 07:11 AM.
 
Old 02-02-2006, 12:59 AM   #2
egghead
LQ Newbie
 
Registered: Jan 2006
Distribution: Slackware 9.1
Posts: 23

Rep: Reputation: 15
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Forbidden error Ab3n Linux - Newbie 1 01-28-2006 10:45 PM
apache forbidden root message johann519 Linux - General 4 05-07-2004 08:02 PM
Apache: Forbidden Error Ninja Cow Linux - Software 2 12-07-2003 12:24 PM
Apache forbidden error!!!!!!!!!!! RKris Linux - Software 5 11-24-2003 07:17 AM
Apache 2.0.4 .. FORBIDDEN error CRego3D Linux - Software 6 05-15-2003 10:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration