[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#261437: apache2-common: mod_cache doesn't cache urls ending with '/' like http://debian.org/



Package: apache2-common
Version: 2.0.49-1
Severity: normal

apache2 mod-cache doesn't cache urls ending with '/'. This means that
the main page of a web site can't be cached. This looks bad for the most
frequented page of a site... 

This is due to a test in the source of mod-cache. 
The solution is to comment in the source
(upstream/tarballs/httpd-2.0.49/modules/experimental/mod_cache.c) lines
83-85.
The resulting lines are :
     82     /* DECLINE urls ending in / ??? EGP: why? */
     83     /*if (url[urllen-1] == '/') {
     84         return DECLINED;
     85     }*/
		    
-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.20
Locale: LANG=fr, LC_CTYPE=ISO-8859-15@euro (ignored: LC_ALL set to fr_FR@euro)



Reply to: