Forum Moderators: open

Message Too Old, No Replies

301 redirect of pageX to pageY

Can IIS do redirects of dynamic pages?

         

mameha1977

7:45 am on Feb 28, 2008 (gmt 0)

10+ Year Member



I know IIS can redirect domains or specific html pages, but what about dynamic pages?

I want to block access to one of the JSP pages created by software I am running. As it is not a static html file, I am not sure how to do this in IIS. I am unable to do it via the software because it is a very complex java program.

I want to just do a 301 redirect on the URL of the dynamic page (www.example.com/changepassword.jsp) to the root.

le_gber

4:00 pm on Feb 29, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi mameha1977,

I think in Windows it's called ISAPI Rewrite. I am not familiar with is - not using Win servers - but a search on WebmasterWorld or Google should bring up enough info to get you going.

Hope this helps

mameha1977

11:57 pm on Mar 2, 2008 (gmt 0)

10+ Year Member



thanks, yes that looks like it will do it. will try to install and set it up. cant believe IIS doesnt have it by default! thanks.