httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24155] - URLs containing a ? are assumed to be query strings
Date Mon, 27 Oct 2003 19:05:31 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24155>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24155

URLs containing a ? are assumed to be query strings

willy@debian.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |



------- Additional Comments From willy@debian.org  2003-10-27 19:05 -------
Hi Andre.  I received feedback from this user suggesting that your
conclusion is incorrect.  Here is the mail he sent me:

From: Jade Nicoletti <nicoletti@nns.ch>

Hi Matthew

It is _not_ possible to use NE and %3F, at least not if I don't want to
do a redirect. In the mod_rewrite reference manual, there's an example:
        RewriteRule /foo/(.*) /bar?arg=P1\%3d$1 [R,NE]
This produces a redirect, which leads to a new request, where the new uri
is parsed again by apache (core probably, not mod_rewrite) and the %3F
is translated to a '?'. But that is not what I am looking for. I don't
want a redirect, I don't want a second request to be made.

I have something like the following:

AddEncoding gzip .gz
RewriteEngine On
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteRule ^/static/(.+).html$ /static/$1.html.gz [L,nosplit]

Where $1 does contain a "%3F", like in
        http://olwm2003.ch/static/page.php%3Fid=30&lang=en.html

I've tried very hard to get a configuration for this without the patch.
I've carefully studied the manual and the guide. I've read the source.
But I really cound't get it set up without "nosplit". The subject is
somewhat complex, but i am very sure that it's not possible without
the patch. If I'm wrong, please explain me how it is done the right way.

Thank you

Jade Nicoletti

PS: mod_gzip is slow like a dog. mod_rewrite flies. That's why I'm
        using it and not mod_gzip.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message