Questions tagged [rewrite]

URL Rewriting maps an incoming URL to a modified URL, so that the request is processes as if the original request was made to the modified URL. This is often used to provide more search engine friendly URLs.

Filter by
Sorted by
Tagged with
0
votes
0answers
44 views

Azure Application Gateway - Rewrite frontpage login url

I have an Azure Application Gateway which is loading to my IIS server, but in order for the page to function it needs to load a file from a subdirectory. Instead of domain.com a user must go to domain....
0
votes
0answers
12 views

helicon ISAPI Rewrite - https/http/www

How do I need to change this rule for IIS to support all variations of domain. I want all traffic to go to htttps://domaindotcom/folder/ - we have sent a letter to ask recipients to go to domaindotcom/...
0
votes
0answers
13 views

Need help on nginx url rewriting

I'm having trouble rewriting this URL below: https://domain-name.com/2020/10/title_of_article.html?id=1 into: https://domain-name.com/0/1 the year is unnecessary so it is removed/truncated/ignored ...
0
votes
0answers
16 views

Redirect trailing URL in Nginx

If I have a URL as follows: example.com/app/login Is it possible to redirect to example.com/app in Nginx without rewriting the URL? I have tried the following but it seems to have no effect: location ...
0
votes
1answer
18 views

How to fix redirection for query?

I have old and new URL paths, I want to write redirection rules, so 2 versions of old paths with query strings: /cgi-bin/something?123 /cgi-bin/something?keywords=123&offset=120 are both ...
-2
votes
0answers
11 views

http to https redirection in iis issue

Currently my website address is http://servername/mysite I want to redirect it to https://servername.vcs.ab.net/mysite I have created bindings for https in IIS and my https site url (https://...
0
votes
2answers
1k views

How to run two different application(Java and Wordpress) on same domain name

I have a java application run at https://example.com which is hosted on server A. When some access https://example.com/example it should redirect to the WordPress site which is hosted on server B but ...
0
votes
1answer
32 views

Why does cs-host field in my IIS logs contain IP address & port instead of hostname?

Question summary: Does URL Rewrite / Application Request Routing within IIS mean that the cs-host field no longer logs the request hostname and instead logs the target server ip & port? If so, how ...
3
votes
1answer
41 views

Why is my Apache RewriteRule removing hex codes from the target url query string?

I have an apache rewrite rule: RewriteRule ^/xy[/]{0,1}$ https://www.example.com/path/file.php?utm_source=Billboard&utm_medium=Print&utm_campaign=MyOrg%20Promo&utm_term=2020FA&...
0
votes
1answer
21 views

Nginx refer to the php file if no extension

I simply want to do this: If the user goes to the address https://example.com/abcd if the folder "abcd" exists, serve it based on the index file rules. If not, serve the abcd.php file If ...
0
votes
0answers
26 views

How to serve PHP on Nginx on a Query Parameter ?amp=1?

I have few virtual hosts (sites) running on this single server. Right now, on this root virtualhost i have a forum (running on Docker) but served by Nginx mysite.com and I have its AMP pages being ...
0
votes
0answers
23 views

IIS Web Server Single IP Multiple Sites

IIS 8 / Windows Server 2012 R2 I am new to IIS and need some advice regarding hosting multiple sites on a server with a single IP address. Not sure if I should be using application pools or VDs, or ...
0
votes
0answers
27 views

IIS - http Short domain name to https FQDN - URL Rewrite

My set up is as such; I have an intranet site running as http://connect/ - has been for numerous years. Now I've added an SSL cert and it's running as https://connect.domain.local/ which works fine ...
0
votes
0answers
16 views

How do I use HAProxy to forward requests with public hostnames to SRV targets with corresponding internal domain names?

To clarify the use-case, I have a bunch of micro-backends which are deployed as services / containers to a cluster dynamically with service discovery enabled. Every time a container launches, a public ...
1
vote
0answers
47 views

Cloudflare blocks our “between subdomains” url rewrites with a 403 due to X-ORIGINAL-URL header(CVE-2018-14773)

Question: How to remove the X-ORIGINAL-URL header in Azure ARR? Cloudflare blocks our "between subdomains" url rewrites with a 403 due to X-ORIGINAL-URL header (CVE-2018-14773). We are using ...

15 30 50 per page
1
2 3 4 5
131