|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Wizard
![]() Join Date: Apr 2003
Location: New Jersey
Posts: 4,250
|
Hi all,
I'm using ASP.NET on IIS 6 on Windows Server 2003. I've read a few articles suggesting that it's best to reference URIs without extensions, to avoid linkrot. I know that this is feasible on Apache, but what about IIS? Thanks in advance. ![]() compuwhiz7 |
|
|
|
|
|
#2 |
|
SitePoint Wizard
![]() Join Date: Sep 2002
Location: Cleveland, Ohio, USA
Posts: 1,488
|
Yep, can do. In IIS you want the wildcard app map to go to the same DLL (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll) by clicking the configuration button in the home directory of the site's properties. That will send all requests to be handled by ASP.NET. From there, you'll have to interpret requests either in an HttpHandler with all requests mapped to it (via web.config) or in the BeginRequest event of the app (accessed via global.asax).
I do this on CampusFish, actually. |
|
|
|
|
|
#3 |
|
SitePoint Wizard
![]() Join Date: Apr 2003
Location: New Jersey
Posts: 4,250
|
Hmm... I'm on a shared server, so I can't access the IIS snap-in. I doubt that I can do this via CrystalTech's Web Control Center...
![]() Thanks anyway, though. ![]() |
|
|
|
|
|
#4 |
|
SitePoint Wizard
![]() Join Date: Sep 2002
Location: Cleveland, Ohio, USA
Posts: 1,488
|
Ask them... I bet they'd do it for you.
|
|
|
|
|
|
#5 |
|
SitePoint Wizard
![]() Join Date: Apr 2003
Location: New Jersey
Posts: 4,250
|
Will do. I've had a positively sublime experience with their support team in the past, so I have high expectations.
![]() Thanks for your help. ![]() |
|
|
|
|
|
#6 |
|
SitePoint Wizard
![]() Join Date: Apr 2003
Location: New Jersey
Posts: 4,250
|
Well, I just got an e-mail back from the CrystalTech support team, and they don't offer catch-all mapping on shared servers.
Oh, well.Thanks for your help. ![]() |
|
|
|
|
|
#7 |
|
runat="server"
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Nov 2001
Location: Colorado
Posts: 2,143
|
jeffyjones I would love a detailed article on this...Would be great with step-by-step intructions on this, as I have to change all pages that have .asp extension to .aspx, would be better to just hide the extension all to together.
|
|
|
|
|
|
#8 |
|
Wanna-be Apple nut
![]() Join Date: Sep 2000
Location: Halmstad, Sweden
Posts: 7,614
|
They are an excellent support team, but they are very, very reluctant to make custom modifications to shared servers.
|
|
|
|
|
|
#9 |
|
SitePoint Wizard
![]() Join Date: Apr 2003
Location: New Jersey
Posts: 4,250
|
It's a pity, too, because it's very easy and would benefit more than just myself.
Oh, well. ![]() |
|
|
|
|
|
#10 |
|
SitePoint Zealot
![]() ![]() Join Date: Apr 2004
Posts: 180
|
Is this what you are looking for http://www.theukwebdesigncompany.com...y-urls-asp.php
|
|
|
|
|
|
#11 |
|
SitePoint Wizard
![]() Join Date: Apr 2003
Location: New Jersey
Posts: 4,250
|
Thanks for link, Venix... I'll be sure to check out that code.
![]() ![]() |
|
|
|
|
|
#12 |
|
SitePoint Zealot
![]() ![]() Join Date: Apr 2004
Posts: 180
|
Np, this is something similar to what we are doing to our sites that are on a shared server.
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 07:29.









Oh, well.





Linear Mode
