800 questions
0
votes
0
answers
67
views
Use relative paths with URL-rewrite with additional path segments
I have this rewrite rule in web.config in my C# / .NET project:
<rule name="URL Rewrite Test" stopProcessing="true">
<match url="(rewrite|testrewrite)-([0-9]+)/?&...
1
vote
0
answers
57
views
IIS URL Rewrite with ARR: How can I remove a prefix before forwarding to Flask (wfastcgi)?
I'm using IIS 10 with ARR 3.0.
I have a default site running on port :80 and a Flask application running (via wfastcgi) on a different site at port :8081.
I created the following URL Rewrite rule in ...
0
votes
1
answer
80
views
Redirect base url Azure websites to custom domain
We have on promise application hosted in Azure website that use on-premise custom domain. It works most of the time with the custom domain, but when session expires, it redirect to Azure website.
...
0
votes
1
answer
163
views
web.config - rewrite rule to change header value is not working
I want to change content-security-policy header by rewrite module in IIS.
Here is default CSP in customer header:
<httpProtocol>
<customHeaders>
<add name="Content-...
0
votes
1
answer
66
views
Rewrite all request to webpage in the root in IIS 10 using URL Rewrite
I have a web server that is being used to display a maintenance page that is located in IIS Default Web Site, which loads a webpage in the root from any URL that points to the IP address. There are a ...
0
votes
1
answer
30
views
IIS Rewrite module unexpectedly returns different values
The website where this occurs is set up as follows.
wwwroot
|
+--testproject
|--web.config
+--public
| |
| |--index.php
| +--assets
...
-1
votes
1
answer
47
views
IIS Rewrite rule to rewrite to a static page without changing url
I have an application https://customer.com/ax/xyz, when this url is hit it should point to a static page without changing the url.
the problem is when i hit the url https://customer.com/ax/xyz, it ...
-1
votes
1
answer
181
views
IIS Rewrite with angular app and application alas
here is the scenario.
I have an angular app and a .net 8 web api hosting on IIS. the .net wep api is added to the site as a application with "dotnet" as the alias
I need domain.com/dotnet ...
0
votes
1
answer
214
views
URL Rewrite does not work as expected in Azure WebApp (Windows)
I am trying to use URL Rewrite to rewrite HTTP_HOST and REQUEST URL in Azure WebApp (Windows).
There is an Application Gateway in front of the WebApp, which rewrites the request FQDN.
What I want to ...
0
votes
1
answer
112
views
Publishing Angular and ASP.NET Core Web API projects together on IIS
I have two projects that need to be published together on the same IIS site.
One of the projects is an Angular application, and the other is an ASP.NET Core Web API.
For various reasons, the Web API ...
0
votes
1
answer
63
views
Unusual Querystrings Appearing In IIS Requests
I have had some performance issues on my web server lately, with irregular load times, and I have gone to the IIS Page Request Monitor and the command line appcmd list request . Being new to these ...
0
votes
2
answers
107
views
Coldbox app runs fine in root dir when starting server, but not in subdir on destination server
I feel like I am missing something very basic.
I have an application, the sample MyPlayground application, which I've been following through the tutorial.
The application works correctly when I start ...
0
votes
1
answer
64
views
web.config rewrite emitted image file
I'm trying to use the web.config's <rewrite> section to override an emitted GIF file that is used for styling a menu toolbar. The GIF is emitted from a DLL that I don't have full access to (...
0
votes
0
answers
71
views
Set server variable in URL Rewrite
I use Application Request Routing with URL Rewrite where I want setup Server Variable (HTTP_SEC_WEBSOCKET_EXTENSION) in installer. There are two config for configuration
web.config which I can ...
0
votes
0
answers
43
views
Why isn't the filtering in IIS Rewrite Module working?
I have a question regarding the IIS Rewrite Module. I composed a regular expression .+/[a-zA-Zа-яА-Я0-9*~!@#$%^&\s()]+/.+ and added a rule that if we enter a link with a vulnerability in the ...