On Nov 14, 2007 5:03 PM, Ki Song <[EMAIL PROTECTED]> wrote:
> > Try this instead:
> >
> >   RewriteCond %{QUERY_STRING} ^([^,]*) [NC]
> >
> > If it still does not work, bump the RewriteLogLevel to 9 and look for 
> > answers
> > in the log file.
>
> I tried that code and it didn't work.

Did you turn on logging, as suggested? It works fine with me: it
matches the full query string until the first comma occurs. So it'd be
interesting to see what your Rewrite log says.

> I saw that there may be some typos, so I tried the following:
>
> RewriteCond %{QUERY_STRING} ^([^,$]*)$ [NC]

That's bound not to work. A $ in a regular expression means the end of
the string.

Martijn.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to