Questions tagged [querystring]

A query string is a part of the URL (uniform resource locator). It consists of pairs of attributes and values. For instance, the URL https://ahost:8443/test?id=21 has a query string with the attribute "id" whose value is "21"

A query string is a part of the URL (uniform resource locator). It consists of pairs of attribute-value. For instance, the URL https://ahost:8443/test?id=21 has a query string with the attribute "id" whose value is "21"

68 questions
0
votes
1 answer

I think Varnish is dropping my query string parameters

Our WordPress site has multiple views for every page and post depending on whether or not a specific query string is used. For example, if visited example.com/blog-post-with-chart (a page which includes a chart as the body content) you would see…
rugbert
  • 83
  • 2
  • 10
0
votes
2 answers

phpMyAdmin and Apache - Query string - 404 Error

When phpMyAdmin tries to access URL as https://example.com/phpmyadmin/server_variables.php&filter=long_query_time, Apache throws a 404 Error. What might be the problem? The requested URL /phpmyadmin/server_variables.php&filter=long_query_time was…
devondre
  • 103
  • 7
0
votes
1 answer

Serve data from different locations depending on a query parameter

I would like to serve data on one and the same host from different directories depending on a query parameter using Nginx. For example https://foo.bar/index.html should be served from /var/www/foo and https://foo.bar/index.html?baz=quux from…
Kolyunya
  • 217
  • 1
  • 3
  • 9
0
votes
1 answer

IIS Request Filtering - Why filter querystrings

In IIS7 & 8 Request Filtering feature, you can have rules to allow or deny URL and QueryString. I get why you would want to block sequences that comes in with attack vectors such as drop or document.cookie but how do you know what querystrings to…
DomBat
  • 149
  • 1
  • 2
  • 8
0
votes
1 answer

.htaccess entry to return simple text based on the URI

I have URL http://foo.com/bar?abc=123, what would be the correct entry in the htaccess file to return a simple text 200 status of abc=123? Basically, I just want to return the entire query string as simple text. I know return ing text is possible…
coneybeare
  • 621
  • 1
  • 7
  • 14
0
votes
1 answer

Ignore utm_* values with varnish?

Can I 'ignore' query string variables before pulling matching objects from the cache, but not actually remove them from the URL to the end-user? For example, all the marketing utm_source, utm_campaign, utm_* values don't change the content of the…
Tallboy
  • 179
  • 3
  • 15
0
votes
1 answer

MOD_REWRITE for rewriting GET requests

I need a .htaccess expression to use the second get variable or get the get variable by name. Currently my mod_rewrite alters the URL to remove index.php filename and alter the pageName GET variable so that it just looks like a filename. I now need…
0
votes
2 answers

htaccess redirect querystring value

I need to redirect www.URL.it/directory_one/index.php?param_one=XXX¶m_two=**YYY** to www.URL.it/newpage.php?param_three=**YYY** I tried all I found online but the only things that works is redirect directory_one/index.php to newpage.php…
0
votes
1 answer

Nginx Rewrite with a question mark

I am trying to force Nginx to redirect/rewrite one URL that uses a query string /?cat=20 to /category/lighttpd/. Here is what I tried, which is not working: location ~ /\?cat=20 { rewrite ^ http://kevinworthington.com/category/lighttpd/?…
Kevin Worthington
  • 327
  • 2
  • 6
  • 19
0
votes
2 answers

Do proxies and/or load balancers alter HTTP query strings by default?

Introduction to the problem Recently I was working on some request signing algorithm and it came out the opinions about including query string in the part that is then signed are "diversified". Long story short, the argument of the person against…
Tadeck
  • 119
  • 7
0
votes
1 answer

Mod_Rewrite - Need Help With Old Url And Query String To New Url And Query String RewriteRu

How would I rewrite the following using mod_rewrite with wildcards: http://www.serverurl.com/glossary/WordFind.php?wordInput=(Dynamic Wildcard Word Here) to: http://www.serverurl.com/index.php?option=com_glossary&Itemid=326&view=word&word=(Dynamic…
0
votes
1 answer

https get with sensitive data in the query string - ensure data is not stored

I have a bit of a complicated scenario. I'll try to explain the problem, explain what I'm doing, and see if anyone else thinks this is feasible. First off, we are PCI compliant. So, any solution I implement has to take compliance into…
Josh
  • 483
  • 2
  • 9
  • 19
0
votes
2 answers

Mod_rewrite delete parameter in 301 Redirect

How would I go about rewriting: http://www.example.com/foo.html?order=desc&limit=all&something=else to http://www.example.com/foo.html?order=desc&something=else I want to remove all instances on limit=all regardless of how many other parameters in…
Jack
  • 25
  • 2
  • 5
0
votes
1 answer

Using a redirect of any form to remove a query string with Apache

Because of the silly way iTunes works the only way to update the URL for a feed is by setting up a permanent redirect from the old feed to the new. This seems easy, but I've hit a snag. The old URL ended in /?feed=rss2, the new URL is just a file,…
Bart B
  • 3,457
  • 6
  • 31
  • 42
0
votes
1 answer

Apache - Is it possible to rewrite urls based on fragments (hashtag)?

Using Apache/2.4.54 (Win64) I have been requested to rewrite from old domain to new like this From https://oldtest.mydomain.com/company/customerpage/#/customer//something To…
rhellem
  • 295
  • 1
  • 5
  • 14