Re: Problem with Expires

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

 




	Hi Igor,

On 03/08/2010 12:01 AM, Igor Cicimov wrote:
Probably your FilesMatch statement doesn't work, looks weird to me like you
are trying to match the against the query string not the file name. What
kind of files are you trying to match?

the problem is that I can't match against file types. The whole system is a Wiki. The default case is just displaying the wiki page, and I'm fine with caching that one. I want to expire the case when a page is edited (which can be detected based on whether the '?action=edit' part is added. That is really the only difference between URLs I want to cache and the ones I don't want to cache...

If I understand you right the query part is not used for matching the Expires rules by default? Is there a way to make it do that?

If there isn't I guess I'll have to resort to not caching any of the Wiki pages. That's going to be more load on the server, but given that it is only in the non-public part of the site it should be acceptable. However that opens another problem: is there and easy way to have an Expires rule for all URL that do not have an extension? I still would like to cache images and such, but I'd rather not add specific rules for each possible file extension.

Thanks!

	Dirk

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