What Could Be Causing This Error Message

Roo's picture

She has: 840 posts

Joined: Apr 1999

Not sure if this is where I should post this since I'm working with a host and not my own server..

Anyway...I'm about to pull my hair out!

I've got this client site under development and he's using the same host as I do for my site.

Here's what happens:

I'll click a link to an active page.

Some images and the style sheet will not load.

If I refresh or click a different active link I'll get a message like this:

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

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/1.3.34 Server at corwinforcongress.com Port 80

Tech support said I may be triggering security by clicking through too fast...but it happens sporadically yet often, and seems to only happen with Firefox!

The code is all valid, and there are no other internal server errors happening.

It's driving me nuts!

This is the site I'm working on.

Roo

James's picture

He has: 127 posts

Joined: Dec 2005

Roo's picture

She has: 840 posts

Joined: Apr 1999

That's just one of the latest...it happens with all pages...

I stared at the top and was able to click five links..when I clicked the sixth..'Join Us' the page loaded without stylesheet and images.

When I hit reload I got:
Forbidden
You don't have permission to access /joinus.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.34 Server at corwinforcongress.com Port 80

Roo

He has: 37 posts

Joined: Feb 2006

It might be your Firefox install, though that is somewhat illogical. I'm using it and flipping through the sight at high speed, not even waiting for pages to load sometimes, and all is well.

If you would convince a man that he does wrong, do right. Men will believe what they see.
-Henry David Thoreau

Roo's picture

She has: 840 posts

Joined: Apr 1999

Very strange! I've been using this version of Firefox forever with no issues except for what's happening with this site!

Busy's picture

He has: 6,151 posts

Joined: May 2001

Do you use a htaccess file on this site? (i get forbidden if trying to access it), if so any errors in there?

Last few months I have had issues with FF, seems a lot of pages time out (error loading this page ...) even thou I see the page start to load. Different error to yours but still a load error.

All pages seem to load ok on FF here, even the 404 on events.php works

Roo's picture

She has: 840 posts

Joined: Apr 1999

I have an .htaccess in the root, and about an hour ago I put one in the pMachine directory...both are empty. Permissions on both are set to 644.

Should I do something with either one of those .htaccess files.

There is no index.html file, only an index.php....should I try adding an index.html and then do this in the .htacess maybe? >>>DirectoryIndex index.html index.php

Roo

Busy's picture

He has: 6,151 posts

Joined: May 2001

browser will automatically go thru a list of defaults, index (htm, html, php ..) default ... so need need to set it

Do you have any .html pages on the site? if so do they get effected the same way?

you reckon both .htaccess files are empty? do you have a httpd file in root?
Normally you can view folders and the htaccess file itself, the only way to block it is from server setting - usually via htaccess.

It's weird but my guess is there is a file your unaware of and FF is timing out and causing this file not to load properly.
I get some of my sites (viewed online) displaying without stylesheets, but re appears on reload.

They have: 36 posts

Joined: Mar 2006

Busy wrote: browser will automatically go thru a list of defaults, index (htm, html, php ..) default ... so need need to set it

Actually the decision of what page to serve if only a folder name is given is made by the server, the browser doesn't get involved with that.

As for it being too many requests in a short time...

#!/bin/bash
for i in `seq 1 100`;
do
        wget -o log <a href="http://corwinforcongress.com/retirement.php" class="bb-url">http://corwinforcongress.com/retirement.php</a>
        grep 403 log > /dev/null
        if [ $? -eq 0 ];
        then
                echo "Forbidden!"
        fi
        rm retirement.php
done
'
That little piece of script downloads the retirement page 100 times in fast succession checking for a 403 error every time. Not a single failure so as it grabbed about 5 pages a second I'd say that's probably not the problem.

However, I have no idea what IS the problem as no matter what I do I can't make it happen for me, all I can suggest is looking in your server error logs and hoping it gives you a reason for the 403.

Roo's picture

She has: 840 posts

Joined: Apr 1999

Well it's still happening, but for now I'm going to say it's an odd FF issue. Because it doensn't happen with Mozilla or with Netscape 8 set to use the Firefox rendering engine.

Very strange indeed.

Roo

Busy's picture

He has: 6,151 posts

Joined: May 2001

I'm still having timeout and image not displaying with FF as well, last time I update to new version of anything Wink

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Do you have accesss the server error logs? They can often provide a little more insight into the issue?

Do you have Frontpage Extensions installed? I have seen problems like this with FP Ext before.

It seems like I have also seen something about FF loading pages too fast. I will try to find out where I have seen that.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

Roo's picture

She has: 840 posts

Joined: Apr 1999

No Frontpage anything...Arrggh... why would anyone do that!?

I see a lot of this is the error log:
client denied by server configuration: /home/drjimi/public_html/bluearrow.gif

Roo

He has: 20 posts

Joined: May 2005

Do you have mod_rewrite rules or mod_evasive in your site?

These problems are occured some times due to bandwidth restrictions (anti DOS modules)

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.