Re: [users@httpd] Simple mod_rewrite issue

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

 



Patrick Campbell wrote:
I am a little slow with this mod_rewrite stuff. I need basically something very simple:

If the url contains the string "brand=12345" (anywhere in the url), then send it to www.whatevercom/some/external/site

I've tried something like

RewriteEngine On
RewriteRule ^brand=12345$ "http://www.google.com";

remove ^ and $
^ means "starts at"
$ means "ends at"


But this isn't working, I know I'm not doing this right but don't know how to fix it.

Thanks.

--
Patrick Campbell
OurVacationStore.com
Website Administrator
Tel. 602.896.4729


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