[users@httpd] can't get mod_expires to work with apache 2.0.54

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

 



I all,

i'm trying to make mod_expires work on my server (Debian stable).

First i tried to make it work serverwide (just for testing) I then added those two lines in my main conf file :

ExpiresActive On
ExpiresDefault "now plus 1 seconds"
# i also tried this
ExpiresDefault A1

But it does not change anything, my browser (Firefox 1.0.7) first get the file normally from the server, but if i close the browser and try and grab the file again, i get a HTTP 304 not modified code instead of the HTTP 200 code i expected. Furthermore, the "If-Modified-Since" header still sends the last modification time of the file instead of last access+1 second.

I also tried in an .htaccess (with AllowOverride Indexes) file without success.



What shall i do to make this module work?

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux