httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
Subject Re: [users@httpd] mod_rewrite queries
Date Mon, 19 Jul 2004 10:21:25 GMT
Sagara Wijetunga wrote:
> 2. The RewriteRule automatically appends the query
> string part to the end of the substitution string. How
> do I disable it?

To quote the docs,

    One more note: You can even create URLs in the substitution string
    containing a query string part. Just use a question mark inside the
    substitution string to indicate that the following stuff should be re-
    injected into the QUERY_STRING. When you want to erase an
    existing query string, end the substitution string with just the

    RewriteRule .* /some/path?

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