perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ellers <ell...@iinet.net.au>
Subject RE: "virtual urls"
Date Sun, 02 Jun 2002 07:06:57 GMT
Many thanks to those who replied.

I went with the <location> strategy using a file called 'lookup' and 
using $ServerVariables( 'PATH_INFO' ) - works beautifully after 
getting a few extra ASP settings into the httpd.conf


Thanks again!

Ellers

At 11:25 AM -0700 1/6/02, Jim Helm wrote:
>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
>file.
>
>Jim
>
>
>>  -----Original Message-----
>>  From: Ellers [mailto:ellers@iinet.net.au]
>>  Sent: Saturday, June 01, 2002 1:02 AM
>>  To: asp@perl.apache.org
>>  Subject: "virtual urls"
>>
>>
>>  Hi All
>>
>>  This is only partly an ASP question, but any help appreciated:
>>
>>  If I have a page like this:
>>
>>     http://any.com/lookup/index.asp
>>
>>  I'd can easily request it like this:
>>
>    http://any.com/lookup/index.asp?event=1234
>
>But I'd really like to be able to request it like this:
>
>    http://any.com/lookup/event/1234


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message