httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koen Vingerhoets" <koen.vingerho...@ubench.com>
Subject [users@httpd] Caching in Apache
Date Mon, 18 Nov 2002 09:41:43 GMT
Hi,

in httpd.conf I have this:

************************************
ExpiresActive on
ExpiresDefault "now"
ExpiresByType image/gif A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType text/html A2592000
ExpiresByType text/htm A2592000
************************************

When I use this site http://www.ircache.net/cgi-bin/cacheability.py to check
the caching of my pages, I see all gif's "expire now".  I want them to last
a month so I changed the httpd.conf file to:

************************************
ExpiresActive on
# ExpiresDefault "now"
ExpiresByType image/gif A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType text/html A2592000
ExpiresByType text/htm A2592000
************************************

Now the gifs show as "expire never".

What is wrong??? It's in httpd.conf, do i have to put it in htaccess??

Can someone please shed some light on this????

Thanks

Met vriendelijke groet,

Koen Vingerhoets

***** UBench nv *****
http://www.ubench.com
____________________________________________
The information contained in this electronic mail message is privileged and
confidential,
and is intended only for use of the addressee. If you are not the intended
recipient, you
are hereby notified that any disclosure,reproduction, distribution or other
use of this
communication is strictly prohibited.

If you have received this communication in error, please notify the sender
by reply
transmission and delete the message without copying or disclosing it.



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