httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alzheimer Michael <michael.alzhei...@macomm.dnsalias.org>
Subject [users@httpd] mod_disk_cache and missing Filenames for Cached URI ?!? - Strange...
Date Thu, 13 May 2004 18:57:15 GMT
Hi all!

I have a very strange problem, maybe found a bug (the logfile says it
8-) ).
I've installed apache 2.0.49, compiled with Sun C Compiler - worker
module - on a Sun Solaris 9 Box Ultrasparc II and III Driven.
Everything works fine, except disk-caching.
I compiled the cache, mem_cache and disk_cache together with the httpd
2.0.49. unfortunately mod_disk_cache does something, i don't want...

The first requests to a web site is processed correctly and is tried to
be cached.
If i reqest the same site a second time i get only errors / half
pictures, missing sites and so on.
The error log of the proxy-server tells me that mod_disk_cache cannot
find the cached file on the filesystem?!?

I can verify this behavior on Sparc Solaris 9 with apache 2.0.49
compiled with Sun C and Gnu C compiler, on Sparc Solaris 8 with apache
2.0.44, ia32 Suse Linux 9 with apache 2.0.48.
So it seems it isen't a OS or Compiler error...

I attached a Debug-Log output of the proxy-serverlog. You can test this
behavior on nearly every website, i tested it on www.thw-lohr.de and
www.ebay.de

At the end of the logfile you can see the Line
"Module bug?  Request filename is missing for URI"
It doesn't sound good.

Every help would be greatly accepted! 8-))
Thank you all!

--- snip ---
First Request:

[Thu May 13 20:43:14 2004] [debug] mod_cache.c(157): cache: no cache -
add cache_in filter and DECLINE
[Thu May 13 20:43:14 2004] [debug] proxy_http.c(66): proxy: HTTP:
canonicalising URL //www.thw-lohr.de/top.html
[Thu May 13 20:43:14 2004] [debug] mod_proxy.c(416): Trying to run
scheme_handler
[Thu May 13 20:43:14 2004] [debug] proxy_http.c(1042): proxy: HTTP:
serving URL http://www.thw-lohr.de/top.html
[Thu May 13 20:43:14 2004] [debug] proxy_http.c(178): proxy: HTTP
connecting http://www.thw-lohr.de/top.html to www.thw-lohr.de:80
[Thu May 13 20:43:14 2004] [debug] proxy_util.c(1160): proxy: HTTP: fam
2 socket created to connect to www.thw-lohr.de
[Thu May 13 20:43:15 2004] [debug] proxy_http.c(327): proxy: socket is
connected
[Thu May 13 20:43:15 2004] [debug] proxy_http.c(361): proxy: connection
complete to 62.134.50.139:80 (www.thw-lohr.de)
[Thu May 13 20:43:15 2004] [debug] proxy_http.c(877): proxy: start body
send
[Thu May 13 20:43:15 2004] [debug] mod_cache.c(406): cache: running
CACHE_IN filter
[Thu May 13 20:43:15 2004] [info] disk_cache: Caching URL
www.thw-lohr.dehttp://www.thw-lohr.de/top.html?
[Thu May 13 20:43:15 2004] [debug] mod_cache.c(663): cache: Caching url:
http://www.thw-lohr.de/top.html
[Thu May 13 20:43:15 2004] [info] disk_cache: Caching headers for URL
www.thw-lohr.dehttp://www.thw-lohr.de/top.html?
[Thu May 13 20:43:15 2004] [info] disk_cache: Cached body for URL
www.thw-lohr.dehttp://www.thw-lohr.de/top.html?
[Thu May 13 20:43:15 2004] [debug] proxy_http.c(936): proxy: end body
send
[Thu May 13 20:43:15 2004] [debug] mod_cache.c(157): cache: no cache -
add cache_in filter and DECLINE
[Thu May 13 20:43:15 2004] [debug] proxy_http.c(66): proxy: HTTP:
canonicalising URL //www.thw-lohr.de/css/main_nobg.css

.
.
.
.
.
- Second Request to the same site:

[Thu May 13 20:43:20 2004] [info] disk_cache: Serving Cached URL
www.thw-lohr.dehttp://www.thw-lohr.de/top.html?
[Thu May 13 20:43:20 2004] [info] disk_cache: Served headers for URL
www.thw-lohr.dehttp://www.thw-lohr.de/top.html?
[Thu May 13 20:43:20 2004] [debug] mod_cache.c(218): cache: stale cache
- test conditional
[Thu May 13 20:43:20 2004] [debug] mod_cache.c(222): cache: conditional
- add cache_in filter and DECLINE
[Thu May 13 20:43:20 2004] [info] [client 192.168.200.101] Module bug? 
Request filename is missing for URI http://www.thw-lohr.de/top.html
[Thu May 13 20:43:20 2004] [error] [client 192.168.200.101] File does
not exist: (null)
--- end snip ---




-- 
  Michael Alzheimer
  Bahnhofstrasse 16 a
  97794 Rieneck

  E-Mail : michael.alzheimer@macomm.dnsalias.org
     Web : http://www.macomm.de
-----------------------------------------------------------
   and it scares the hell out of me
   and the end is all I can see
-----------------------------------------------------------


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message