Thread: IIS - Rewrite
View Single Post
  #1 (permalink)  
Old November 20th, 2014, 06:09 PM
TE32 TE32 is offline
Registered User
Points: 11, Level: 1
Points: 11, Level: 1 Points: 11, Level: 1 Points: 11, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2008
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default IIS - Rewrite

Using 2012 R2 server, IIS8 - In past we were able to have end user type in "http://www.ficticious.com/aboutus" in browser. Now there existed a folder /aboutus and it contained 2 files default.aspx and default.aspx.cs (asp.net web forms development) Within that .cs code, we used a 'response.redirect("/xyz.aspx");' This would be our redirects.

Yet, today, using 2012 R2 server and IIS8 this appears to no longer work. Provides the following error if I type in 'http://www.ficticious.com/aboutus" in browser. We receive the following error message "404: file not found
Requested URL: /abouteccDefault.aspx" It appears to be concatenating the aboutus and the default.aspx. Is there something that I missed in setting this up?
Reply With Quote