Re: RewriteRule problem

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

 



Eric Covener wrote:
On Wed, Mar 18, 2009 at 4:38 PM, Campbell, Lance <lance@xxxxxxxxxxxx> wrote:
RewriteRule ^/abc?id=(.*)   /efg/$1

You need to deal with the query string in a RewriteCond.
http://wiki.apache.org/httpd/RewriteQueryString

Eric is of course right, above here.
But even if .. I wanted to point out that your regexp was not doing what you thought it was.
abc? means "ab" followed an optional "c".

---------------------------------------------------------------------
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