0
votes
0answers
18 views

IIS7 Rewrite Rule for subdomains

I'm having trouble trying to figure out the proper syntax for a rewrite rule for subdomains in IIS7. I'm wanting to do the following: Change: www.anything.mydomain.com To: anything.mydomain.com ...
0
votes
0answers
21 views

Wordpress permalinks on subfolder in iis7 not working

I have IIS 7.5. mod rewrite active. Currently, my wp site is inside subfolder. Here is web.config in my root folder : <rewrite> <rules> <rule name="site2.com" stopProcessing="true"> ...
0
votes
0answers
98 views

IIS 7.5 ARR rewrite rules equivalent for Apache mod_proxy rules

I'm trying to put RabbitMQ management interface behind a load balancer, using IIS 7.5 and ARR, whereby I'm routing rabbit.mydomain.local to localhost:15672. While I get the traffic to route, all api ...
0
votes
1answer
64 views

IIS 7.5 Reverse Proxy URL Re-Write to website with gzip

If we own www.ourdomain.com and wanted to rewrite the url to say www.google.com, how would we deal with gzip compression on say the google domain. I'm trying to do a proof of concept and i believe the ...
1
vote
1answer
452 views

IIS Reverse Proxy Not Working With Response.Redirect() in ASP.NET

I am trying to set up a reverse proxy, using the tutorials here, here and here. The site is set up on localhost:8080, with the reverse proxy using localhost:8080/myProxy. When dealing with standard ...
0
votes
0answers
71 views

IIS 7.5: Redirect domain alias to specific page

We have a website that host pages for multiple companies, typically they redirect a pag on their website to our website. However, we have a client that wants a custom domain. So we have traffic ...
4
votes
2answers
2k 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
0answers
24 views

How can I use AAR and RewriteModule to proxy AJAX requests?

Using IIS 7.5 with Advanced Application Routing. I have setup a rewrite rule so that all requests to http://server1/proxy/* goto http://server2:8080/* eg: a request to ...
0
votes
0answers
112 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
1answer
166 views

IIS 7.5 URL Rewrite looping

I have a webapp that is located in /subdir1/subdir2/ I'd like to simplify it for the users by adding a subdomain sub.domain.com but it keeps looping. I'd tried to add additional rules to prevent it ...
2
votes
0answers
438 views

Can a URL Rewrite condition compare two server variables?

I am trying to compare two server variables as part of a URL rewrite condition. But first, some context... In IIS, if you request http://www.example.com/foo and foo is a directory, IIS sends a 302 ...
1
vote
1answer
58 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 ...
1
vote
1answer
517 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 ...
0
votes
1answer
125 views

multiple domains same folder using url rewrites how does that affect cookies and ssl certs?

I have a folder that is hosting a web application. Our clients are wanting to direct their website our 'web portal' so their customers can view their account information. In my first attempts I have ...
0
votes
1answer
1k views

Why doesn't this IIS Rewrite work for Firefox and Chrome?

In my IIS7.5 on my Windows 2008R2 server, I have a url rewrite. The rewrite seems to work in Internet Explorer, but Firefox and Chrome still give me a 404. Firefox even skips the redirect if refresh ...
3
votes
1answer
501 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
1answer
981 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
1answer
591 views

Can installing URL Rewrite 2.0 on production IIS 7.5 have a negative impact?

We have a Windows 2008 R2 server with IIS 7.5 and a lot of customer websites. Being no sys-admin but a developer, I hate to touch that wonderfully running system. However, I'd like to update the IIS ...
0
votes
1answer
140 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 ...
2
votes
1answer
520 views

ARR reverse proxy outbound rewrite rule for redirections

I'm currently trying to put together a proof of concept on mixing various technologies onto one web site in order to ease migrations and add flexibility. The idea is to create one 'mashup' site behind ...
2
votes
1answer
515 views

Configuring WordPress rewrite rules on IIS7.5 inside virtual application

I have to configure WordPress into a virtual application under a principal website running on ASP.NET 2.0 Classic mode. Everything is working fine, PHP 5.3.13 / MySQL 5.1 / IIS 7.5, the wordpress ...
1
vote
0answers
291 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
128 views

IIS 7.5 url rewritter 2.0 Help creating a rule

I am looking to rewrite an url. Say I have an URL like www.domain.com/wall.aspx?Personid=1 and I want to rewrite that as www.domain.com/wall/personid/1 or even www.domain.com/wall/1. I am wanting it ...
0
votes
1answer
493 views

How do I identify which rewrite rule is being trigger on IIS 7.5?

I have a set of rewrite rules (offhand, I would say around 40-50) for a given server. It's basically to handle and reroute mangled URLs so that bad links still go to where they're supposed to go. ...
0
votes
2answers
726 views

URL Rewrite module from IIS7.5 to Tomcat 6.0

We have a Java application which will be installed into tomcat6. Our security team will not allow Tomcat to be public facing so I am in a postion where I have to recieve https traffic to IIS 7.5 and ...
0
votes
2answers
8k views

Using IIS 7.5 URL Rewrite, how can I redirect all requests not from a particular subdomain to a specific page?

I'd like to use the URL Rewrite module in IIS 7.5 to redirect all requests not from a particular sub-domain (x.domain.com) to a specific folder/file. For example, these should work as-is: ...
0
votes
1answer
2k views

URL Rewrite in IIS 7.5 not working

I am trying to redirect all http traffic to https as the site requires SSL. For example, if someone navigates to http://site.com or http://www.site.com I want to redirect the user to ...
1
vote
1answer
127 views

301 Redirect microsite to a section of a main site in IIS 7.5

I need to redirect an entire microsite (mymicrosite.com) to relevant pages on my main site (mysite.com). My main site has a custom 301 module (built into the 404 page) which checks unfound paths ...
0
votes
1answer
347 views

ARR+URL Rewrite with different directory structures returning 500 error

I have set the following configuration set for a reverse proxy using ARR + URL Rewrite IIS7.5 I am trying to proxy www.originurl.com/e/ through front end site www.proxyurl.com/. Note I'm mapping the ...
2
votes
2answers
1k views

IIS IP Logging through reverse Proxy (Cloudflare)

I'm using an IIS server behind the nice "Cloudflare" reverse proxy. This reverse proxy farm exposes a HTTP header to my server, namely HTTP_CF_CONNECTING_IP. It contains the IP that connects to ...
3
votes
2answers
2k views

IIS7 URL Rewrite breaks for URLs containing + characters

I have an IIS7 server that acts as a reverse proxy for several other web servers. The other servers run on different ports, so the IIS7 server provides 'friendly URLs' and all on port 80. URL ...
0
votes
1answer
1k views

IIS Rewrite all trafic to SSL

my current configuration is: <rule name="Force HTTPS" enabled="true"> <match url="(.*)" ignoreCase="false" /> <conditions> <add input="{HTTPS}" pattern="off" ...
1
vote
1answer
697 views

How do I convert this mod_rewite rule to IIS7 UrlRewrite

Options +Indexes Options +FollowSymlinks RewriteEngine on RewriteBase / RewriteRule ^(.*)\.html$ $1.php [L] Is what i would use in Apache mod rewite to make it so index.html is actually index.php ...
0
votes
1answer
2k views

which is my Web.Config on IIS 7.5

i googled this and found it is storing inside my asp framework folder... but may i know which is the right web.config file for my specific application ? there is too many application running... and i ...
1
vote
1answer
3k views

How to use IIS URL Rewrite with gzip compression

I've been trying to create outbound rules in IIS 7.5 on Windows 2008 R2 on a site that has static HTML pages and compression enabled. If I have any form of compression enabled (static or dynamic) I ...
7
votes
1answer
3k views

IIS 7.5 Redirect / URL Rewrite to mobile version of website

I'm looking for an IIS solution (not programming) to redirect a website to a mobile version of the website. It looks like it might be possible, but not sure, with IIS Redirect or using IIS URL Rewrite ...
2
votes
1answer
627 views

IIS7.5 Outbound Rule for lower case URLs in <a href=“…”>

I know how to canonicalise the case of URLs on incoming request to IIS7.5, in fact, there's a built in rule template to start from. But how about outbound (without changing the code)? This is where ...
1
vote
0answers
571 views

IIS 7.5 URL Rewrite - missing “route to server” option

(Question moved from StackOverflow) I am running Windows 7 Ultimate, and have activated IIS (Version 7.5.7600.16385). I have installed the following modules using Microsoft Web Platform Installer ...
1
vote
1answer
1k views

Possible to redirect all traffic from www.***.com to ***.com, in IIS7?

notice how ServerFault.com has no subdomain? If we want to do the same thing with our website -> redirect all traffic from www.***.com to ***.com, how can we do this? At first, I thought it might be ...
0
votes
1answer
788 views

URL Rewrite in IIS7 Web Service - WebService.asmx => WebService in the SOAP doc

I have an IIS7.5 (Server 2008 R2) based web service that I would like to make as independant on the current implementations technology as possible. I am using the URL rewrite module ...
1
vote
0answers
1k views

When using URL Rewrite on IIS 7.5 for reverse-proxy, how do I configure an automatic login to the target (real) server?

Here's the configuration... internetservice.site.com is reverse-proxied by URL Rewrite on IIS 7.5 to targetserver.ourdomain.local. The rules are set for one front-end site bound to port 80 with ...
1
vote
1answer
853 views

IIS 7 URL Rewrite: not working with C:1 back-reference for redirect url

Im using IIS7 with the URL rewrite module and I can not make it work properly. The rule looks like this in web.config <rewrite> <rules> <rule name="Redirect to ...