httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53350] New: mod_cache caching 403 responses Apahce 2.2.22
Date Fri, 01 Jun 2012 23:07:41 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53350

          Priority: P2
            Bug ID: 53350
          Assignee: bugs@httpd.apache.org
           Summary: mod_cache caching 403 responses Apahce 2.2.22
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Reporter: gmillikan@t1shopper.com
          Hardware: Other
            Status: NEW
           Version: 2.2.22
         Component: mod_cache
           Product: Apache httpd-2

In the log file below we can see the 403 getting served at 11:33:09.  Then I
hold down the <shift> key and click refresh on the page using FireFox to send
the "Cache-Control: no-cache" request header to get a new copy of the page and
clean the server's cache and the page comes back with a 200 at 11:33:18. As
long as I don't send the no-cache request I can keep getting the same 403
response out of the cache. 

The cause of the 403 is problematic so I'll include it below.

How can I help you debug this?

 Here's the log file:
 [01/Jun/2012:11:33:09 -0700]    GET
/tools/calculate/file-size/result/?size=32&unit=kilobytes HTTP/1.1  403     302
    -
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0     -
 [01/Jun/2012:11:33:18 -0700]    GET
/tools/calculate/file-size/result/?size=32&unit=kilobytes HTTP/1.1  200    
3347    -
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0     


What's causing the 403? Apache is intermittently issuing a 403 "Directory index
forbidden by Options directive" but it never should.  For example the two
below links work fine.  But look at the log entry showing the 403 error. 
Crazy.  I cannot duplicate the error at all except when the 403 is already in
the cache 

http://www.t1shopper.com/tools/calculate/file-size/result?size=123456789&unit=kilobytes

http://www.t1shopper.com/tools/calculate/file-size/result/

Here's error log:
[Fri Jun 01 11:05:06 2012] [error] [client 71.256.256.256] Directory index
forbidden by Options directive:
/home/t1shopper/www/tools/calculate/file-size/result/

How can I help you debug this?

PS: We are Linux 2.6.18-308.4.1.el5 x86_64  CentOS release 5.8

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message