Forbidden You don't have permission to access

lvalics

Verified User
Joined
Feb 12, 2004
Messages
40
Forbidden You don't have permission to access /afaceri/client_view.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

This is what I got from time to time. If I hit refresh, all is OK, page will show.
But the problem is that this is happening too many times and I don't see the reason.
Anyone encountered this kind of problem?

How can that some time I have access to file and some time not?? And if I hit refresh is OK.
 
At the moment i have same problem, but it is on a normal directory within the domains root folder (../doc)

[Sat Mar 31 13:58:41 2007] [error] [client 86.88.115.71] client denied by server configuration: /usr/share/doc/nieuw_bkgdcolor.gif

That would be the error. What is the problem here? Is the path allright what shows up? /usr/share... ?
The folder where file resides is /home/username/domains/domain.com/public_html/doc
 
Last edited:
We found mod_dosevasive doing the problem. For the moment we disabled it.
 
Hi,

This time it was not. I found what was wrong.
DOC is a reserved Linux word so it searched elsewhere :S

I renamed it to documents and al is ok now.
 
DOC is a reserved Linux word

Actually it is not a reserved Linux word at all.

In your httpd.conf you have the line:

Code:
Alias /doc/ /usr/share/doc/

If you do not plan on using this to view files located in /usr/share/doc/ then you can just comment it out.

Code:
#Alias /doc/ /usr/share/doc/
 
Back
Top