3
votes
1answer
65 views

What HTTP header code does URL-Rewrite return?

If I used the native URL-Rewrite module to rewrite (not redirect) a URL, does it return 302, 301, or 200? Is this method OK to use for a permanent URL rewrite? Here is sample code for the redirect: ...
0
votes
0answers
22 views

Apache/ISS equivalent

I've always used Apache for all my web development work and I'm struggling to get my head around IIS. I've got an API that re-routes all requests to one particular file: 'api.php', how would I do the ...
0
votes
0answers
23 views

Change Subdomain follow IP Country?

I have something don't know to do it. I want to config domain when the User go to my website, system is catching IP Country of user and auto change my subdomain from www.mysite.com/index.aspx to ...
4
votes
1answer
953 views

Canonicalization for www/non-www URLs and IP/domain on a Windows server

I have checked my website using this SEO tool and the results report 2 issues: Test your site for potential URL canonicalization issues. Canonicalization describes how a site can use slightly ...
1
vote
1answer
527 views

Web.config WordPress rewrite rules next to Magento

I've installed Magento on IIS in folder: E:\mydomain\wwwroot (I already have it all running correctly). I have no deeper folder magento, I placed all files directly in the wwwroot folder, so: ...
0
votes
1answer
122 views

Is there an API or programmatic way to convert “.htaccess” rewrites to “web.config” IIS Rewrites?

I know I can do it in IIS Manager, but I am looking for some programmatic way to do it. We need to do this for customer all the time. So it would be great if there's a programmatic way of doing so.
1
vote
2answers
135 views

Redirecting requests to a subfolder

We have multiple WordPress installations on our IIS7 (Windows Server 2008) Server as follows: http://www.example.com/site_one http://www.example.com/site_two http://www.example.com/site_three These ...
0
votes
2answers
75 views

IIS Rewright from www to HTTPS

If I use mywebsite.com IIS will do as expected and redirect it to https://mywebsite.com. If I use http://mywebsite.com IIS will do as expected and redirect it to https://mywebsite.com. But, if I use ...
3
votes
1answer
261 views

URL rewriting via forward proxy

I have an app that runs inside my firewall and talks out to multiple end points via HTTP/HTTPS on a non-standard port e.g. http://endpoint1.domain.com:7171, http://endpoint2.domain.com:7171 What I ...
1
vote
2answers
115 views

IIS Rewrite Module 2.0 question

If I have to install "IIS Rewrite Module 2.0" on my machine for it to work, since my web site runs on a shared web server, does that mean that my host has to have this installed in order for it to ...
1
vote
0answers
148 views

Handling URL Rewrite in IIS5

On an older server, using IIS5, I have an error handling page which for some missing pages uses Server.Transfer to load other pages based on a database. The pages all work for a browser but some ...
4
votes
1answer
283 views

Dynamically rewrite URLs upon the user's selection - is it possible?

In my PHP based web application, there's a form that generates a URL according to the user's selection. The form has 7 different fields, each one of them affects the final URL, none of them is ...
1
vote
1answer
5k views

URL Rewrite http to https EXCEPT files in a specific subfolder

I am trying to force all traffic on my web site to use HTTPS, using the URL Rewrite 2.0 module added to IIS 7.5. I got that working and now have a need to exclude a couple of pages from using SSL. So ...
1
vote
1answer
254 views

Please explain some of the features of URL Rewrite module for a newbie

I am learning to use the IIS Rewrite module and some of the "features" listed in the page is confusing me. It would be great if somebody could explain them to me and give a first hand account of when ...