Attached is a patch to AxKit.pm that addresses:
http://marc.theaimsgroup.com/?l=apache-modperl&m=103466276418661&w=2
Thanks again,
Ed
--- AxKit.pm.orig Tue Oct 15 14:36:32 2002
+++ AxKit.pm Tue Oct 15 14:38:23 2002
@@ -385,7 +385,7 @@
AxKit::Debug(2, "media: $media, preferred style: $preferred");
# get cache object
- my $cache = Apache::AxKit::Cache->new($r, $r->filename() . '.gzip' .
($r->path_info() || ''), $preferred, $media, $r->notes('axkit_cache_extra'));
+ my $cache = Apache::AxKit::Cache->new($r, $r->filename() .
+($AxKit::Cfg->GzipOutput ? '.gzip' : '') . ($r->path_info() || ''), $preferred,
+$media, $r->notes('axkit_cache_extra'));
my $recreate = 0; # regenerate from source (not cached)
@@ -398,7 +398,7 @@
# Make sure we default the cache file, otherwise
# we setup a potential DoS
AxKit::Debug(3, "resetting cache with no preferred style ($preferred ne
$styles->[0]{title})");
- $cache = Apache::AxKit::Cache->new($r, $r->filename() . '.gzip' .
$r->path_info(), '', $media, $r->notes('axkit_cache_extra'));
+ $cache = Apache::AxKit::Cache->new($r, $r->filename() .
+($AxKit::Cfg->GzipOutput ? '.gzip' : '') . $r->path_info(), '', $media,
+$r->notes('axkit_cache_extra'));
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]