Loading ...
Sorry, an error occurred while loading the content.

430Re: "virtual urls"

Expand Messages
  • Brat Wizard
    Jun 1, 2002
    • 0 Attachment
      It can be done with mod_rewrite. Go to apache.org and read through the
      mod_rewrite docs.

      Regards.

      John Whitten
      brat@...
      Wizard.Org, Inc.

      On Saturday 01 June 2002 04:02 am, Ellers spewed into the ether:
      > 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
      >
      > 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!
      >
      > Ellers
      >
      >
      >
      >
      >
      >
      > ---------------------------------------------------------------------
      > To unsubscribe, e-mail: asp-unsubscribe@...
      > For additional commands, e-mail: asp-help@...


      ---------------------------------------------------------------------
      To unsubscribe, e-mail: asp-unsubscribe@...
      For additional commands, e-mail: asp-help@...
    • Show all 12 messages in this topic