error page not delivered

Ramon A Hermon rhermon at chicagosuntimes.com
Tue Feb 5 18:42:50 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I am unable to get varnish to deliver the customized error page when
requesting a non-existent url.
For instance:
If I request http://mysite/xyz ( request to
http://mysite/xyz/notthere.html also fails) results in a blank page.

apache error.log =
[Tue Feb 05 10:54:42 2008] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xyz/
[Tue Feb 05 10:54:42 2008] [debug] mod_cache.c(136): Adding
CACHE_REMOVE_URL filter for /xyz/
[Tue Feb 05 10:54:42 2008] [debug] mod_cache.c(509): cache: /xyz/ not
cached. Reason: Response status 302
[Tue Feb 05 10:54:42 2008] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xyz/index.html
[Tue Feb 05 10:54:42 2008] [debug] mod_cache.c(136): Adding
CACHE_REMOVE_URL filter for /xyz/index.html
[Tue Feb 05 10:54:42 2008] [debug] mod_cache.c(509): cache:
/xyz/index.html not cached. Reason: Response status 404

apache access.log =
192.168.130.6 - - [05/Feb/2008:10:54:42 -0600] "GET /xyz/ HTTP/1.1" 302
- - "-" "Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.8 (like
Gecko)"
192.168.130.6 - - [05/Feb/2008:10:54:42 -0600] "GET /xyz/index.html
HTTP/1.1" 404 450 "-" "Mozilla/5.0 (compatible; Konqueror/3.5; Linux)
KHTML/3.5.8 (like Gecko)"



in contrast: http://mysite/xyz/index.htm results in the proper error
page being displayed.

apache error.log =
[Tue Feb 05 10:58:12 2008] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xyz/index.htm
[Tue Feb 05 10:58:12 2008] [debug] mod_cache.c(136): Adding
CACHE_REMOVE_URL filter for /xyz/index.htm
[Tue Feb 05 10:58:14 2008] [debug] mod_cache.c(509): cache:
/xyz/index.htm not cached. Reason: Response status 404

apache access.log =
192.168.130.6 - - [05/Feb/2008:10:58:12 -0600] "GET /xyz/index.htm
HTTP/1.1" 404 450 "-" "Mozilla/5.0 (compatible; Konqueror/3.5; Linux)
KHTML/3.5.8 (like Gecko)"


All test are successful w/o Varnish and going straight to apache. Any
ideas will be greatly appreciated.

Regards,
Ramon A Hermon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHqKAa2nBs00uoHhwRAqsqAJ9nz165J7w3xF1xyUa2T0TZxHNAcQCfTR9T
EqFW1XhGrn+tnqY9ydAEBFE=
=MqYZ
-----END PGP SIGNATURE-----




More information about the varnish-misc mailing list