0
votes
0answers
13 views

How to get IIS to accept-encoding: gzip(gfe)

Google's PageSpeed Service forwards requests with the accept-encoding header set to gzip(gfe). Unfortunately IIS chokes on this with the following: HTTP/1.1 400 Bad Request Content-Type: text/html; ...
0
votes
0answers
10 views

IIS7.5 URL Rewrite generating error after importing site

I have two Windows 2008 R2 servers with IIS 7.5. One server has a website configured with URL rewrite rules. I copied the site directory to the second server and set up a new site, using this ...
-1
votes
0answers
9 views

First request to IIS Rewrite URL takes very long to process but application pool recycle ruled out for cause

I have IIS setup to serve a handful of ASP .NET applications and PHP websites and all of them have been configured with proper time-outs and application pool recycle times and are working ...
1
vote
0answers
26 views

IIS rewrite rules for subdomain and nonexistent files

Setup: I know how to use a rewrite rule to route urls to a routing script such as router.php. I know how to use a rewrite rule to route urls containing a subdomain to subfolders in the document ...
1
vote
1answer
28 views

Is it possible to redirect a url to another url so that users see always the original url?

I have a website whose url is subdomain.example.com but I want users to use a different url to access it, example.com/subdomain. Just to add a bit of context, the two domains are on two separate ...
0
votes
0answers
72 views

w3wp.exe crash (rewrite.dll) IIS 7.5

I'm experiencing several crashes in the last days on our production server and I can't figure out how to fix this issue. The server hosts an ecommerce application, written in classic ASP, that runs ...
0
votes
0answers
19 views

IIS URLRewrite not working to internal server

I have a GET web service running on Apache Tomcat web-server which is running on port 8080. I am trying to create a URL rewrite on IIS which is running on port 80, to map the internal service. Now ...
0
votes
0answers
11 views

IIS rewrite fails to append back-reference

In IIS, I'm trying to redirect a non-existent subdomain to a url, and include the remainder of the url in the redirection. For example: blog.abc.com/blah/blah/blah should go to: ...
0
votes
1answer
30 views

IIS URL Rewrite and Reverse Proxy

I have a reverse proxy rule that forwards all requests to a specific subdomain to an internal server and everything works great. <rule name="cloud.domain.com" enabled="true" ...
0
votes
1answer
11 views

Query Sring - Variable redirection

I need help on this query string: I am using IIS 8 and I have this URL: http://automotive.ooplinks.com/index.php?route=product/search&filter_tag=westin *I would like to redirect the variable ...
0
votes
1answer
24 views

Can't find IIS Rewrite Rule in Config XML

I created a new URL rewrite rule through the IIS manager GUI. But when I browse to the site config XML file, I don't see any rewrite rules even though I have confirmed the rewrite is working. I had ...
0
votes
1answer
86 views

IIS7 URL rewrite - Path has question mark (not query string)

I need to redirect this: http://www.example.com/?/careers/ to this: http://www.example.com/jobs/ But IIS7 URL rewrite does not recognize the question mark, even if I try to escape it. Is this ...
1
vote
1answer
26 views

Issue when redirecting a folder using IIS url rewrite

Using Url Rewrite, I'm trying to redirect /foo_bar/* to /foo/*. I've tried this: <rule name="Redirect foo_bar to foo" stopProcessing="true"> <match url="(.*)" /> <conditions ...
1
vote
0answers
96 views

Getting error 500.52 when creating reverse proxy with url rewrite

I have used the following technique for achieving Url rewriting. http://weblogs.asp.net/owscott/archive/2013/10/24/creating-a-reverse-proxy-with-url-rewrite-for-iis.aspx However i am getting the ...
0
votes
2answers
111 views

How to redirect or rewrite IIS site with port in URL to URL without port?

I'm not 100% sure if this is the right part of StackOverflow to post this but to me it made the most sense. Sorry if its not! Currently I have a site in IIS configured on HTTPS with port 7500. I can ...
4
votes
2answers
461 views

Temporarily redirect *all* HTTP/HTTPS requests in IIS to a “server maintenance” page

We've got an IIS server that hosts hundreds of separate web apps, and the physical database server that hosts these apps is going to be taken offline for maintenance for a brief period (we expect it ...
0
votes
1answer
122 views

IIS7 URL Rewrite - Checking for X-Forwarded-For header

I am pretty familiar with IIS and URL Rewrite but I just got a task which stumped me. I need to check each request for the presence of the X-Forwarded-For HTTP header and, depending on its presence, ...
0
votes
0answers
73 views

How to set “retry-after” when using IIS Url-Rewrite to deliver a 503 message

I have used the Url-Rewrite suggestion by @Peter Hahndorf [answer here] to great effect. However I was wondering if there's a way to also tell search engines to "Retry-After"? I've tried ...
0
votes
0answers
12 views

Apache VirtualHosts behind IIS URLREWRITE

I have several apache virtualhost sites behind an IIS Rewrite Proxy. Now apache isn't picking up the hostname to distinguish identity between virtualhosts. How can I fix this?
0
votes
0answers
57 views

Image URL rewrite rule on IIS7.5, transfering from apache rule

I'm pretty new to IIS and read everything by Ruslan Yakushev and followed his suggestions. I'm trying to convert a image rewrite rule from apache rewrite to IIS7.5: RewriteRule ^(/images/.*)$ ...
1
vote
0answers
128 views

Possible bug in IIS url rewrite module or is it just me?

Okay, so I came up with the brilliant idea to run a W2012 IIS8 with rewrite rules to do some reverse proxying for me, not because it's the best choice, but because I didn't want yet another box ...
0
votes
0answers
18 views

Accessing IIS from internal IPs

I have a small webserver set up running Windows 8 Pro and IIS 8. One can access the site from the external domain easily enough, but accessing it internally becomes a chore given the fact that I want ...
0
votes
2answers
222 views

HTTP redirect with IIS 7.5

I have two intranet ASP.NET MVC web applications hosted in one website which could be accessed by the paths: localserver/old and localserver/new. I've moved logic from the first app to the second app ...
1
vote
1answer
42 views

Odd rewriting behaviour of IIS

I've also asked this question on Stackoverflow, but I thought this would've been a better place to ask. We have the following rewrite rule on IIS7.5: <rule name="Anything else to the event ...
0
votes
0answers
114 views

IIS Reverse Proxy to a Jetty Server

I have an application that I have to do some integration with that is using the Jetty web server. The company that makes the application gave me instructions on how I could use IIS to act as a reverse ...
0
votes
1answer
93 views

How to get IIS8/Server2012/Azure to drop URLs such as *.php without generating a 404?

I have been using a URL rewrite script since IIS7. This snippit from my worked/works fine on IIS7.5; <rewrite> <rules> <!-- Bad Unused Nuisance URLs --> <rule ...
0
votes
0answers
28 views

IIS ReWrite match pattern needs to bind to the host domain

I have a two sites that are hosted under a single root domain (hense single web.config), and I need an IIS rewrite rule that will work across both of them. Here is my basic setup: Site 1 - base url = ...
-1
votes
1answer
104 views

Using URL Rewrite to change part of URL

I'm trying to use an URL rewrite on an IIS 8.0 to rewrite existing URL's on a developer machine. The reason for this is that I don't want to change existing (old) code. What I'm trying to achieve is ...
0
votes
0answers
141 views

Outgoing IIS URL Rewrite Rule

I have the following outgoing IIS URL rewrite rule: <outboundRules> <rule name="ReverseProxyOutboundRule1" preCondition="ResponseIsHtml1" enabled="true"> ...
1
vote
1answer
438 views

URL rewriting between different pools with different authentication in IIS

I have an IIS application and three sub-applications as follows: CMT (Windows and Anonymously authenticated) - CI - EM - Website (Windows authenticated) CI and EM are helper web services and ...
1
vote
1answer
288 views

Centralized IIS to redirect to other IIS servers

Basically what i'm after is to have a centralized IIS Server on the Local LAN where port 80/443 would be forwarded to from the router. Then through this server it can forward/redirect the requests to ...
0
votes
1answer
325 views

Reverse proxy in IIS to local TomCat

IIS has several websites: domain1.com a.domain2.com b.domain2.com There is also a TomCat running on localhost:8087 The challenge is how to expose the TomCat externally as b.domain2.com ...
0
votes
1answer
252 views

IIS Rewrite rule to redirect and remove query string

I'm trying to rewrite in IIS 7.5 from an old website to the new one. We have a list of URL's with and without query strings. I can get the URL's without query strings to redirect but not with. ...
3
votes
1answer
310 views

It it possible to have multiple ReWrite rules that all do the same Action, for an IIS7.5 webserver?

I've got rewrite module working great for my IIS7.5 site. Now, I wish to add a number of urls that all goto an HTTP 410-Gone status. Eg. <rule name="Old Site = image1" patternSyntax="ExactMatch" ...
0
votes
2answers
135 views

iis 7 url rewrite for search results

I have rewrites working for specific directories, but can't figure out how to get the search results rewrite to work. If go directly to /blog/?s=coffee, it goes to the correct search results page. ...
1
vote
1answer
709 views

Prevent URL Rewrite rules from being inherited by subdirectories in IIS7

I have a URL Rewrite setup for clean URLs in a CMS and my web.config looks like this: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> ...
0
votes
1answer
605 views

Remove directory from URL IIS 7.5

I've tried to find a solution to this and found some guides out there but none seem to work. I have the following URL - http://www.mysite.com/aboutus.html However there are some other sites which ...
0
votes
0answers
68 views

Server Migration Strategy Using URL Rewrite and Forwarding

I suspect this may not be possible for security reasons or something, but I must ask. I'm in charge of a migration project involving around 50 intranet applications. This process will take time and ...
1
vote
1answer
741 views

IIS rewrite rule to check for querystring and add it if its not there

I'm trying to make a IIS URL rewrite rule that appends an URL parameter to the URL. The url parameter is hssc. So, any url that is processed through the server, needs that parameter. Keeping in mind ...
0
votes
1answer
126 views

Ignore subdomain rewrite rules

I'm having difficulty having a sub folder act differently to the main domain in my web.config for iss. I want to prevent the sub folder from rewriting to the baselevel index.php and instead re-write ...
1
vote
2answers
588 views

Redirect a url to another url in IIS 7.5

I have no idea why this isn't working. I've tried creating map rules and then rewritng and redirecting the url. I've tried just redirecting it with a simple rewrite rule and no matter what, the only ...
3
votes
1answer
203 views

IIS re-write from http to https only for subdomains of one domain only

I have an IIS7 web server with several sites running. Some of the sites are sub-domains of one domain and the others are totally separate domains. I want to use IIS re-write to redirect all the sub ...
0
votes
1answer
118 views

Default redirection to www with IIS 7.5 & .Net mvc 3?

I haven't set up any rewrites or url redirects, yet if I go to mydomain.com I am redirected to www.mydomain.com. Is there a default redirect that I'm missing, or is it something else? This is my ...
1
vote
0answers
178 views

301 redirects along with URL rewriting to reduce URLs with query params

Okay, so I have URL rewriting set up on my server (IIS 7) so that, for example, http://example.org/p/1234/ is really http://example.org/product/?product_id=1234 (With /product/ containing an ...
1
vote
2answers
138 views

IIS7 page alias

I have a problem which I'm sure it's not really hard but I really don't know how to use the Windows IIS console. I have two static html pages (Lorem Ippsum pages) which I want to access when i access ...
2
votes
2answers
235 views

Server Farm Configuration on IIS

Is it possible to have a site under IIS that is not part of a server farm if there are other sites in the farm (and have the site reachable) My setup is that I have TeamCity installed on a Windows ...
0
votes
1answer
247 views

IIS 7.5 URL rewrite is dropping parts of URLs with a tilde (~)

I'm trying to run a reverse proxy through to a website running locally through IIS to get SSL functioning. I've got all my rules set up so that I can see 90% of the site perfectly. The application ...
1
vote
0answers
270 views

ARR Reverse Proxy and multiple sites as subdirectories with IIS 7.5

I have multiple websites (combination of ASP.NET Webforms and MVC3) that we are trying to consolidate under a single domain with each site under a directory on this main domain. So I want to take the ...
1
vote
1answer
286 views

IIS rewrite rules skipped even though the pattern matches

Sorry for the vague title, the problem is too complex to summarize in a short phrase... I'm trying to set up the following redirection rules: blog.mydomain.net/en/something: redirected to ...
0
votes
0answers
334 views

ARR & URL Rewrite, how about Cookie?

I have a question about using ARR(Application Request Routing), for example, I want to rewrite request from "www.old.com" to "www.new.com", and handler in "www.new.com " will request cookie whose ...