IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 22nd, 2012, 10:31 PM
jasonpaulweber jasonpaulweber is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2012
Location: Detroit area, MI
Posts: 5 jasonpaulweber User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 36 m 10 sec
Reputation Power: 0
Send a message via Yahoo to jasonpaulweber Send a message via Skype to jasonpaulweber
Facebook Orkut
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

Reply With Quote
  #2  
Old January 24th, 2012, 06:35 AM
StormInternet StormInternet is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2012
Posts: 17 StormInternet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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

Reply With Quote
  #3  
Old January 26th, 2012, 02:13 AM
jasonpaulweber jasonpaulweber is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2012
Location: Detroit area, MI
Posts: 5 jasonpaulweber User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 36 m 10 sec
Reputation Power: 0
Send a message via Yahoo to jasonpaulweber Send a message via Skype to jasonpaulweber
Facebook Orkut
Thumbs up 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!

Reply With Quote
  #4  
Old January 29th, 2012, 10:03 AM
StormInternet StormInternet is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2012
Posts: 17 StormInternet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > IIS 7 rewrite stopped working locally

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap