The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> System Administration
> IIS
|
IIS 7 rewrite stopped working locally
Discuss IIS 7 rewrite stopped working locally in the IIS forum on Dev Shed. IIS 7 rewrite stopped working locally IIS forum discussing Microsoft's Internet Information Server including its configuration, optimization and other related topics. IIS is the most popular web server for the Windows platform.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

January 22nd, 2012, 10:31 PM
|
|
Registered User
|
|
Join Date: Jan 2012
Location: Detroit area, MI
Posts: 5
Time spent in forums: 36 m 10 sec
Reputation Power: 0
|
|
|
IIS 7 rewrite stopped working locally
I'm not a programmer, but I managed to use the IIS rewrite tool to take out the .aspx extension on my pages. I don't know if this has any benefit, but as a result, I point my hyperlinks to, for instance, "contact" instead of "contact.aspx" (I just figure end users would find it easier to remember).
Anyway, I downloaded some things for Visual Studio 2010, and they didn't appear to alter my web.config or global.asax, but although my hyperlinks (to the rewrote urls) work fine on the website, they don't work fine locally.
Is this an issue I should care about? If so, does anybody have any suggestions? Thanks for any help you can offer!
Jason Weber
|

January 24th, 2012, 06:35 AM
|
|
Registered User
|
|
Join Date: Jan 2012
Posts: 17
Time spent in forums: 1 h 59 m 3 sec
Reputation Power: 0
|
|
|
Hi Jason,
Thats correct, contact is much more easier to remember than contact.aspx and its much more user friendly
as your URL's are working on server that means asp.net rewrite module is present on the server where as if its not working on your local machine then make sure you have asp.net rewrite module installed on local machine
Additionally I would suggest you to consider ISAPI Rewrite which is one of the widely used rewrite tool and you can generate any form of URLs with the help of, you have to just design a rule for it and place it in to .htaccess file
|

January 26th, 2012, 02:13 AM
|
|
Registered User
|
|
Join Date: Jan 2012
Location: Detroit area, MI
Posts: 5
Time spent in forums: 36 m 10 sec
Reputation Power: 0
|
|
Thank you!
Quote: | Originally Posted by StormInternet Hi Jason,
Thats correct, contact is much more easier to remember than contact.aspx and its much more user friendly
as your URL's are working on server that means asp.net rewrite module is present on the server where as if its not working on your local machine then make sure you have asp.net rewrite module installed on local machine
Additionally I would suggest you to consider ISAPI Rewrite which is one of the widely used rewrite tool and you can generate any form of URLs with the help of, you have to just design a rule for it and place it in to .htaccess file |
Hey, thank you for that information, Storm! I feel quite dumb right now. I just bought a new computer w/ Windows 7, and I didn't realize that I had to install the rewrite tool locally as well. I've never claimed to be the most intelligent person around. But thank you for enlightening me, and another thank you for turning me on to the ISAPI rewrite tool. I'm going to check it out as soon as I click 'send' on here. The only thing is that I'm using Visual Studio (asp.net 4.0) on a Windows server, so I'm not sure if it'll work if it requires an .htaccess, but I'm going to check it out! Thanks again for taking the time to respond!
|

January 29th, 2012, 10:03 AM
|
|
Registered User
|
|
Join Date: Jan 2012
Posts: 17
Time spent in forums: 1 h 59 m 3 sec
Reputation Power: 0
|
|
Hello Jason,
Np at all
Let me know if you need any assistance in ISAPI Rewrite rules, would be glad to assist further 
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|