ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community 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 18th, 2002, 02:20 AM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
Talking How do i do this?

how do i do this neat trick like at www.msn.com

example http://microsoft/0/0/ and it loads up to that exact page. how do they do this in asp james yang i know you might know so help......
__________________
Apache Expert

Reply With Quote
  #2  
Old June 18th, 2002, 10:07 AM
CodeWarrior CodeWarrior is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: Oakville - Ontario - Canada
Posts: 12 CodeWarrior User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to CodeWarrior Send a message via AIM to CodeWarrior
Hey asp_man, I'm not quite sure exactly what you're getting at. When I enter in the url on msn like "www.msn.ca/0/0 all I see is an error page. It produces no valuable results. Could you provide more details about what it is you want?

Reply With Quote
  #3  
Old June 18th, 2002, 10:32 AM
James Yang James Yang is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Atlanta, Georgia
Posts: 284 James Yang User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 45 sec
Reputation Power: 7
Send a message via ICQ to James Yang
lol Im not so sure man...I know its supported by the web server though ... and I know mitchelle knows how to do this in IIS so im in process of getting him to tell me... ))
__________________
Regards,

James Yang
.NET Developer / Network Engineer
MCSE, MCDBA, MCSA, CCNA

http://www.yellowpin.com/
http://www.opentechsupport.com/

Reply With Quote
  #4  
Old June 18th, 2002, 06:31 PM
mytch mytch is offline
Dev Articles Novice (500 - 999 posts)
 
Join Date: Apr 2002
Location: Sydney, Australia
Posts: 589 mytch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
OK,
Well basically in IIS you need to change the error documents page for your virtual directory. To do this, fire up MMC and load the IIS snap-in. Right click on your site then properties. Goto the custom errors tab and look for the 404 Default "Not Found" error.

Edit it and change the message type to URL and point it to an ASP page such as /404.asp. You need to add some code like this to 404.asp:

<%

qs = Request.QueryString
qsArray = split(qs, ";")
qsParams = qsArray(1)

Response.Write qsParams

%>

Basically the qsParams variable will now have the URL and the parameters that you can extract from and use select case to work out what you want to do with them, etc

Reply With Quote
  #5  
Old June 30th, 2002, 04:21 AM
ckchin ckchin is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 52 ckchin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
I think he is talking about the exact url (http://www.website.com/user/123) instead of http://www.website.com/index.asp?myuserid=123.

In aspx (asp.net), you can set this feature (vanity url) in global.asax. I learn this from the book of ASP.net unleashed, by http://www.samspublishing.com.

In Unix, I think you need to set certain thing (I am not familiar with Unix) which I think that myth can help you out.
__________________
Regrads,

ckchin

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > How do i do this?


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