RewriteCond QueryString Variable

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 3
Joined: 19 Dec 2013, 18:06

RewriteCond QueryString Variable

21 Apr 2017, 11:30

How can I target specific QueryString variables?

ie. If I have, "?a=1&b=2&c=3&d=4&e=5", and I want to only grab, "b" & "d".

I have tried:
RewriteCond %{QUERY_STRING} ^b=([^&]+) [NC]
RewriteRule ^page\.asp$ /newpage?bx=%1? [NC,NE,R=301,L]

But it only grabs "b" if it is first in the querystring list. I have no idea how to add getting "d" also.

Help?

Thanks!
Lee

User avatar
Posts: 402
Joined: 06 Mar 2012, 11:59

Re: RewriteCond QueryString Variable

23 Apr 2017, 07:26

Hello.

Please try this:

RewriteCond %{QUERY_STRING} b=([^&]+) [NC]
RewriteCond %{QUERY_STRING} d=([^&]+) [NC]
RewriteRule ^page\.asp$ /newpage?bx=%1%2? [NC,NE,R=301]

User avatar
Posts: 3
Joined: 19 Dec 2013, 18:06

Re: RewriteCond QueryString Variable

24 Apr 2017, 10:40

Thanks - worked great!

User avatar
Posts: 2
Joined: 23 Sep 2017, 04:50

Quickbooks not working support phone number

23 Sep 2017, 04:52

Thank you for share this information with us…If you can face any problem while using Quickbooks like Quickbooks not working and you need a help so just dial Quickbooks not working phone number or visit here https://www.wizxpert.com/quickbooks-not-working/

User avatar
Posts: 2
Joined: 23 Sep 2017, 04:50

Contact Quickbooks support phone number

23 Sep 2017, 04:53

Thank you for share this information with us…If you are looking Contact Quickbooks support phone number for getting best solution of technical problem regarding then you can call contact Quickbooks phone number or visit https://www.wizxpert.com/contact-quickbooks-support/

User avatar
Posts: 1
Joined: 25 Sep 2017, 23:15

Re: RewriteCond QueryString Variable

25 Sep 2017, 23:21

It’s my first time to visit this site & I’m really surprised to see such impressive stuff!

User avatar
Posts: 1
Joined: 04 Nov 2017, 03:43
Location: Mahipalpur, Delhi

Re: RewriteCond QueryString Variable

04 Nov 2017, 03:56

The website is good enough and contains good source of information. That is the reason that your information grabs the attention of visitors. It's a nice job.
https://www.kajalahuja.com/mahipalpurescorts.html

User avatar
Posts: 1
Joined: 21 Dec 2017, 04:22

Re: RewriteCond QueryString Variable

21 Dec 2017, 04:27

Nice Post! Here I am sharing some information about my website.
http://finddatinggirls.com/
http://finddatinggirls.com/fuck-buddy/
http://www.finddatinggirls.com/casual-sex-hookups/
http://finddatinggirls.com/friends-with-benefits/
http://finddatinggirls.com/near-me-singles/
http://finddatinggirls.com/women-looking-men/
http://finddatinggirls.com/adult-hookups/
http://finddatinggirls.com/casual-hookup-partner/
http://finddatinggirls.com/free-dating-sites/
http://finddatinggirls.com/local-dating-site/
http://finddatinggirls.com/no-strings-attached/
http://finddatinggirls.com/find-girls-for-sex/

User avatar
Posts: 1
Joined: 20 Jan 2018, 04:55

Re: RewriteCond QueryString Variable

20 Jan 2018, 04:58

If you have come from the West and you are captivated by the Asian beauty, in that case, we make sure that you get the best Call Girls in Mahipalpur to help you taste the Asian flavor in the best way. At Mahipalpur, we make sure that you are getting one heck of an experience with our girls. So, no matter whether it is official meeting or bachelor party, we are there for all your needs. For more information visit here:- http://www.russiongirlsinmahipalpur.in

User avatar
Posts: 1
Joined: 06 Feb 2018, 17:27

Re: RewriteCond QueryString Variable

06 Feb 2018, 17:33

Companies from all over the world are gathered here https://expertpaperwriter.com/ A dedicated and personalized essay review and consultation services for students. I used their services. I was satisfied with the result.

User avatar
Posts: 2
Joined: 08 Feb 2018, 18:19

PC Matic Support Number

08 Feb 2018, 18:21

A very useful information and a great effort and too much homework I really appreciate this. We provide PC Matic Support Number and PC Matic Tech Support Number. We provide technical support service and we solve your pc problems.

https://techysupport.co/pc-matic-support-number/
https://techysupport.co/

User avatar
Posts: 2
Joined: 08 Feb 2018, 18:19

Re: RewriteCond QueryString Variable

08 Feb 2018, 18:35

A very useful information and a great effort and too much homework I really appreciate this. We provide Norton Support Number and Norton Customer Service.

https://techysupport.co/norton-antivirus-software/
https://techysupport.co/norton-safe-web-toolbar/
https://techysupport.co/norton-removal-tool/
https://techysupport.co/create-norton-backup-online/
https://techysupport.co/upgrade-norton-security-fastest-version/
https://techysupport.co/norton-customer-service/
https://techysupport.co/norton-power-eraser/
https://techysupport.co/norton-antivirus-review/
https://techysupport.co/norton-tech-support/
https://techysupport.co/how-to-install-norton-antivirus-for-mac/
https://techysupport.co/

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 8 guests