Why am I getting Network error: 403 Forbidden in firebug for files I am not trying to access?

Posted by moomoochoo on Server Fault See other posts from Server Fault or by moomoochoo
Published on 2012-09-25T16:09:11Z Indexed on 2012/09/26 3:39 UTC
Read the original article Hit count: 1052

Filed under:
|
|

QUESTIONs

I'd like to know

  • why I am getting Network error: 403 Forbidden in firebug for files that I am not trying to access?

  • is it likely to cause any serious problems on the webserver?

  • how to fix it.

  • Why is my browser trying to access those files in the error message?

DETAILS

I’m using wampserver 2.2 to access a folder via the browser. The browser is on the same computer as the server. The computer is running windows 7 ultimate.

When I view a web folder via my browser hXXp://localhost/folder

I can see the folder contents ok enter image description here

but in firebug I get Network error: 403 Forbidden

enter image description here

I’m not deliberately trying to access those files in the error msgs. You will notice they are in a completely different folder to the one I am looking at.

I check the apache_error.log and see

[Wed Sep 26 00:05:10 2012] [error] [client 127.0.0.1] client denied by server configuration: C:/apache2, referer: hxxp://localhost/folder/

Wampserver 2.2 is installed on D drive.

I took a look at the httpd.conf file but I couldn't find any references to c:

When I look in Apache’s access.log I see

127.0.0.1 - - [26/Sep/2012:00:05:10 +0900] "GET /icons/blank.gif HTTP/1.1" 403 217
127.0.0.1 - - [26/Sep/2012:00:05:10 +0900] "GET /icons/back.gif HTTP/1.1" 403 216
127.0.0.1 - - [26/Sep/2012:00:05:10 +0900] "GET /icons/text.gif HTTP/1.1" 403 216
127.0.0.1 - - [26/Sep/2012:00:05:10 +0900] "GET /icons/unknown.gif HTTP/1.1" 403 219
127.0.0.1 - - [26/Sep/2012:00:05:10 +0900] "GET /icons/folder.gif HTTP/1.1" 403 218

CONFIGURATION

  • Wampserver 2.2 installed on Drive D
  • Apache 2.2.22
  • PHP 5.4.3
  • MySQL 5.5.24
  • Firebug 1.10.3
  • Firefox 15.0.1

© Server Fault or respective owner

Related posts about apache2

Related posts about wamp