Re: RewriteRule problem

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

 



Campbell, Lance wrote:
I want to do convert the below dynamic url to a static url:

http://acme.com/abc?id=123

To:

http://acme.com/efg/123

I have tried the following:

RewriteRule ^/abc?id=(.*)   /efg/$1


Try:
RewriteRule ^/abc\?id=(.*)   /efg/$1

Well, actually maybe not. Because I think that the question mark and query string (id=..") may not be part of what RewriteRule is comparing with.
But try it anyway ?

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