Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-27 Thread Joydeep Bakshi
Hello Tom, After tweaking the search pattern, the rule are working fine. Thanks for your tips and thanks to all who has given me the clue. - best wishes On 27-May-2013, at 12:34 PM, Joydeep Bakshi wrote: > Hello Tom, > > sorry for the wrong implementation of the rules. > > This time I ha

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-27 Thread Joydeep Bakshi
Hello Tom, sorry for the wrong implementation of the rules. This time I have done it as per requirement actual url http://www.mydomain.com/index.php?id=7&artId=7572&doi=10.5414/ALP33211 it should be http://www.mydomain.com/index.php?id=7&artId=7572&doi=10.5414/ALP33211&L=5 The &L=5 has t

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Tom Evans
On Fri, May 24, 2013 at 3:37 PM, Joydeep Bakshi wrote: > > > On 24-May-2013, at 6:46 PM, Tom Evans wrote: > >> On Fri, May 24, 2013 at 2:03 PM, Joydeep Bakshi >> wrote: >>> It was level 5 and now I have set level 9. >>> From log it seems that the pattern is blindly applied to every link rather >

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Eric Covener
The input isn't how you described it, right? On Fri, May 24, 2013 at 10:37 AM, Joydeep Bakshi wrote: > > > On 24-May-2013, at 6:46 PM, Tom Evans wrote: > >> On Fri, May 24, 2013 at 2:03 PM, Joydeep Bakshi >> wrote: >>> It was level 5 and now I have set level 9. >>> From log it seems that the pa

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Joydeep Bakshi
On 24-May-2013, at 6:46 PM, Tom Evans wrote: > On Fri, May 24, 2013 at 2:03 PM, Joydeep Bakshi > wrote: >> It was level 5 and now I have set level 9. >> From log it seems that the pattern is blindly applied to every link rather >> than matching the query_string >> >> applying pattern '^ALP332

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Tom Evans
On Fri, May 24, 2013 at 2:03 PM, Joydeep Bakshi wrote: > It was level 5 and now I have set level 9. > From log it seems that the pattern is blindly applied to every link rather > than matching the query_string > > applying pattern '^ALP33211$' to uri 'index.php' > applying pattern '^ALP33211$' to

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Jens-U. Mozdzen
Hi Joydeep, Zitat von Joydeep Bakshi : On 24-May-2013, at 6:23 PM, Jens-Uwe Mozdzen wrote: Hi Joydeep, Zitat von Joydeep Bakshi : On 24-May-2013, at 6:06 PM, "Jens-U. Mozdzen" wrote: Hi Joydeep, Zitat von Joydeep Bakshi : [...] Thanks but without the leading slash it still fails to pro

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Joydeep Bakshi
On 24-May-2013, at 6:23 PM, Jens-Uwe Mozdzen wrote: > Hi Joydeep, > > Zitat von Joydeep Bakshi : >> On 24-May-2013, at 6:06 PM, "Jens-U. Mozdzen" wrote: >> >>> Hi Joydeep, >>> >>> Zitat von Joydeep Bakshi : [...] Thanks but without the leading slash it still fails to provide the >

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Jens-Uwe Mozdzen
Hi Joydeep, Zitat von Joydeep Bakshi : On 24-May-2013, at 6:06 PM, "Jens-U. Mozdzen" wrote: Hi Joydeep, Zitat von Joydeep Bakshi : [...] Thanks but without the leading slash it still fails to provide the redirection. Now I have RewriteRule ^ALP33211$ /ALP33211&L=1 [R=301] what's in m

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Joydeep Bakshi
On 24-May-2013, at 6:06 PM, "Jens-U. Mozdzen" wrote: > Hi Joydeep, > > Zitat von Joydeep Bakshi : >> [...] >> Thanks but without the leading slash it still fails to provide the >> redirection. >> Now I have >> >> RewriteRule ^ALP33211$ /ALP33211&L=1 [R=301] > > what's in mod_rewrite's debug

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Jens-U. Mozdzen
Hi Joydeep, Zitat von Joydeep Bakshi : [...] Thanks but without the leading slash it still fails to provide the redirection. Now I have RewriteRule ^ALP33211$ /ALP33211&L=1 [R=301] what's in mod_rewrite's debug log? Regards, Jens ---

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Eric Covener
> > Thanks but without the leading slash it still fails to provide the > redirection. > Now I have > > RewriteRule ^ALP33211$ /ALP33211&L=1 [R=301] > Use the RewriteLog, no need to guess what's happening. - To unsubscribe, e-ma

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Joydeep Bakshi
On 24-May-2013, at 5:22 PM, Eric Covener wrote: > On Fri, May 24, 2013 at 7:41 AM, Joydeep Bakshi > wrote: >> 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&

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Eric Covener
On Fri, May 24, 2013 at 7:41 AM, Joydeep Bakshi wrote: > 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.mydom

[users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Joydeep Bakshi
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 t