Re: Mod_Rewrite from old dynamic page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux