"RewriteCond %{REQUEST_URI} ^/\?1\.1$" failed on "/?1.1".

"RewriteCond %{REQUEST_URI} ^/\?1\.1$" failed on "/?1.1".

Post by Simon Tneoh Chee-Boo » Wed, 09 Jun 1999 04:00:00

   Thanks in advance for any helps.
   I'm using Apache1.3.4 with mod_rewrite enabled.
In my httpd.conf file:
RewriteCond %{REQUEST_URI} ^/\?1\.1$
I found the following results when I access the server:
/?1.1   <- pattern not matched.
/%3F1.1 <- pattern matched.
And I set the log level to 9, I found that
REQUEST_URI is "/" not "/?1.1" when I access "/?1.1".
But I found the REQUEST_URI environment variable printed
from cgi script has the QUERY_STRING appended to it. I
wonder REQUEST_URI environment variable should have the
QUERY_STRING appended to it or not? Which one is correct?

  Thanks again.

Simon Tneoh Chee-Boon
Application Developer   Hitechniaga Sdn. Bhd.