On Nov 14, 2007 5:03 PM, Ki Song <ki@xxxxxxxxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx