XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

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:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old June 5th, 2003, 04:09 PM
mstubble mstubble is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 8 mstubble User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
XML help with 404 error page

Hello,

My boss said I need to get this done ASP and I have no idea what I am doing

Good luck on trying to answer this question

I am working with a Windows server using ASP and I need to write an XML doc to handle virtual directory forwarding working a long with my 404.asp error page. I want to include the XML doc as an include to the 404.asp doc. I don’t know how to do it though? I have very little experience with XML.

This is an example of what I want to do:

-User types in whatever.com/directory

-Then IIS sends them to the 404.asp page and the 404.asp page checks with the include XML doc.

-The XML doc checks to see if whatever.com/directory is a valid virtual directory included within the XML doc and if it is valid it sends them to an assigned URL for that virtual directory. (In other words, the directory isn’t a ‘real’ directory it is just a virtual directory that is read and assigned within the XML file which can forward to a specific URL.

If whatever.com/directory cannot be found within the XML include file the person just stays on the 404.asp error page rather than being forwarded somewhere else.

Now, what would the XML look like to accomplish something like this? I don’t know how to do this

Short example

-User types URL: whatever.com/directory
-404.asp loads and asks: Check XML include file
-XML include file looks to see if it should send user from whatever.com/directory to a URL.
-If whatever.com/directory cannot be found in XML the user will stay on the 404.asp error page.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > XML help with 404 error page


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 3 hosted by Hostway