httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] mod_cache not working
Date Tue, 11 Aug 2009 11:16:11 GMT
On Tue, Aug 11, 2009 at 5:25 AM, Shibi NS<shibi.ns@gmail.com> wrote:
>
> I have the following configuration in my httpd.conf
>
> LoadModule cache_module modules/mod_cache.so
> LoadModule disk_cache_module  modules/mod_disk_cache.so
> LoadModule perl_module modules/mod_perl.so
>
> CacheEnable disk /specs/
> CacheRoot /data/cache/
> SetEnvIfNoCase request_uri \.html$ gzip cache-enable=disk
>
> <Files ~ "\.html$">
>   SetOutputFilter DEFLATE
>   SetHandler            perl-script
>   PerlResponseHandler   MyApp::HtmlHandler::handler
> </Files>
>
> Where MyApp::HtmlHandler::handler converts an xml file to html if it not
> exits else serve the existing html file . But I don't see file is getting
> cached when try accessing http://<myserevr>:<myport>/specs/Template.html
>
>
> Any clues? , I am missing some con-fig steps ?

LogLevel debug might tell you why it's not cached.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
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