httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
Subject Re: [users@httpd] Automatically added query var to all URLs
Date Sat, 16 Oct 2004 12:17:10 GMT
CSN wrote:
> I just want to have the GET var "cache=false" added
> (once) to any and all requests. I have several sites
> running out of a single directory and need to
> enable/disable caching on a per site basis

Possibly you can get away with something like this (may need some tweaking):

    <Directory /path/to/stuff>
        RewriteRule (.*) $1?cache=false [QSA]

See the docs on RewriteRule for details.

Robert Andersson 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message