.htaccess {QUERY_STRING} and issue with append a value

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

 



Hello list,

Greetings !!

I am using {QUERY_STRING} to append a value to a particular URL.

The actual url is   http://www.mydomain.com/index.php?id=7&artId=7572&doi=10.5414/ALP33211

and it has to become 

http://www.mydomain.com/index.php?id=7&artId=7572&doi=10.5414/ALP33211&L=5

The &L=5 has to be appended

Hence I have made the .htaccess rule as

RewriteCond %{QUERY_STRING} ^Id=7572&doi=10.5414/ALP33211$
RewriteRule ^/ALP33211$  /ALP33211&L=1 [R=301]

But it is not working at all.  Have I done any misconfiguration ?
The mod_rewrite is already available and working.

Kindly suggest.

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