I'm sort of ambivalent about var=val consistency, since the query
string doesn't need to be in that format.


I think most people think about the Query String in terms of key=value
pairs. And those who know that this format isn't mandatory are less likely
to be confused by reading key=value than the other way around. But, the main
point was to ensure consistency across the whole document (ie, don't mix
http://example.com/?stuff with http://example.com/?var=val). I personally
prefer var=val for the reasons stated above.



>   {{{
> - RewriteRule ^/path/(\w+)/(\w+) /path?$1=$2
> + RewriteRule ^/path/([^/]+)/([^/]+) /path?$1=$2
>   }}}

I don't have a particular problem with that, but it is highly unlikely
to work if anything outside the \w character class is in there, since
URL escaping in mod_rewrite is pretty messed-up on this point. There
was a recent message on [EMAIL PROTECTED] about that.


Didn't know that... but I did a quick test:

       RewriteRule /path/[^/]+ http://google.com

and when accessing http://localhost/path/dsa(@@) drove me to google. So I
think it's not *that* messed up.

V.

Reply via email to