SunQuest
           IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old May 4th, 2005, 07:19 AM
simonneaves simonneaves is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Location: bath, uk
Posts: 12 simonneaves User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 40 m 3 sec
Reputation Power: 0
htaccess alternative

Can anybody recommend method of creating global redirecting scripts other than htaccess?

We currently use htaccess to direct visitors who try and access pages which have been deleted or renamed to a page which gives them a list of alternatives. htaccess is also useful for globally directing visitors to a temporary page during development by typing one line of code we can avoid updating sitwide links to a single page.

We want to be able to run a similar script from a windows server because we need full support for asp too, and it is apparently impossible to run these htaccess redirecting scripts on a windows server. (a linux server won't support all of the asp functionality that we need).


Thank You.
Simon Neaves.

Reply With Quote
  #2  
Old May 4th, 2005, 09:11 AM
Sepodati's Avatar
Sepodati Sepodati is offline
Banned
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Dec 1999
Location: Afghanistan
Posts: 14,378 Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)  Folding Points: 70305 Folding Title: Intermediate FolderFolding Points: 70305 Folding Title: Intermediate FolderFolding Points: 70305 Folding Title: Intermediate FolderFolding Points: 70305 Folding Title: Intermediate Folder
Time spent in forums: 2 Months 3 Weeks 6 Days 22 h 12 m 4 sec
Reputation Power: 1784
Send a message via ICQ to Sepodati Send a message via Yahoo to Sepodati
You can adjust/set what pages are served for 404 errors in the IIS properties. You can make it an ASP page, also, that'll be passed the page that was requested (somewhere in the headers or URL, but can't remember where exactly). You can dynamically display a message or redirect somewhere or whatever. Is that what you're after? If you want to handle more than 404, you'd have to set the same page or different pages for each response/error header.

---John Holmes...

Reply With Quote
  #3  
Old May 9th, 2005, 11:25 AM
simonneaves simonneaves is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Location: bath, uk
Posts: 12 simonneaves User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 40 m 3 sec
Reputation Power: 0
hmm. This is good to know, although it's not just error messages that we want to redirect from. We have been using htaccess as a way of avoiding updating sitewide links when we change the name of a page.

I have taken on a site which has been through many redevelopments, and is not as organised as it should be. Up until we realised that we needed more asp functionality (hense the need to go with windows), we were using htaccess to tidy up all of the old links from so that pages like brief.php now go to brief.asp.

anyway, I am currently looking at http://www.isapirewrite.com/ as an alternative, but will look more closely at your suggestion when I get chance

Thanks for your help though. Much appreciated.

Reply With Quote
  #4  
Old May 9th, 2005, 01:03 PM
Sepodati's Avatar
Sepodati Sepodati is offline
Banned
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Dec 1999
Location: Afghanistan
Posts: 14,378 Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)  Folding Points: 70305 Folding Title: Intermediate FolderFolding Points: 70305 Folding Title: Intermediate FolderFolding Points: 70305 Folding Title: Intermediate FolderFolding Points: 70305 Folding Title: Intermediate Folder
Time spent in forums: 2 Months 3 Weeks 6 Days 22 h 12 m 4 sec
Reputation Power: 1784
Send a message via ICQ to Sepodati Send a message via Yahoo to Sepodati
Offtopic, but I'd be interested in the functionality requirements that made you switch to ASP/IIS, if you can share. Just curious...

Reply With Quote
  #5  
Old May 10th, 2005, 03:58 AM
simonneaves simonneaves is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Location: bath, uk
Posts: 12 simonneaves User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 40 m 3 sec
Reputation Power: 0
CDONTS for a start, but its more of a safety measure. The site still has a lot of developments to come, and I want to safeguard against having to move it again.

To be honest, I'm not massively experienced on the advanced ASP functionality, but I have been told quite a lot that chillisoft is not a comprehensive alternative to IIS. I'd prefer to have options for later on.

You'll probably tell me all of the linux workarounds for missing ASP components on chillisoft...

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > htaccess alternative


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway