.htaccess and query string

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

 



Dear list,

I need a rewrite where query string is the answer.

http://domain/?eID=dd_googlesitemap&L=0 should be redirected to http://domain/sitemap.xml

So I have added the following to .htaccess

RewriteEngine on
RewriteCond %{QUERY_STRING} ^\eID\=dd_googlesitemap\&L=0$ [NC]
RewriteRule dd_googlesitemap http://domain/sitemap.xml [R=301,L]

But no effect :-(

Could any one suggest the problem with above rule ?

Thanks 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-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