perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Helm" <>
Subject RE: "virtual urls"
Date Sat, 01 Jun 2002 18:25:32 GMT
How about just making /lookup the page, instead of /lookup/index.asp.
You'll have to make sure /lookup is executed as an asp page ( <Location
/lookup> ... </Location> ), but once you have that, you can just get the
rest from the pathinfo piece of the uri.  

Or you could just rename /lookup/index.asp to /lookup.asp and call it
via /lookup.asp/event/1234.  Slightly less "pretty" but functionally the
same, and it saves having to create a Location directive in your config


> -----Original Message-----
> From: Ellers [] 
> Sent: Saturday, June 01, 2002 1:02 AM
> To:
> Subject: "virtual urls"
> Hi All
> This is only partly an ASP question, but any help appreciated:
> If I have a page like this:
> I'd can easily request it like this:

But I'd really like to be able to request it like this:

I've seen what I call "virtual urls" like this here and there, eg
amazon, and even got it going a couple years ago with perl/CGI. 

However, using Apache-ASP the last URL above just returns 404 not found,
which sortof makes sense.

Is there a directive to tell Apache to look backwards (or whatever) in
the URL and resolve to use lookup/index.asp?

I'm sure it can be done somehow, but I'm not sure... maybe a special
<directory> directive?

Any tips appreciated!



To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message