Re: exact url typed in browser
From: bruce barker (nospam_brubar_at_safeco.com)
Date: 09/16/04
- Next message: Sasha: "Re: 1.1 sp1"
- Previous message: Bill Borg: "Re: Specified argument was out of the range of valid values. Param"
- In reply to: Daniel Bauke: "exact url typed in browser"
- Next in thread: Steve C. Orr [MVP, MCSD]: "Re: exact url typed in browser"
- Reply: Steve C. Orr [MVP, MCSD]: "Re: exact url typed in browser"
- Reply: Daniel Bauke: "Re: exact url typed in browser"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 15 Sep 2004 17:21:20 -0700
when IIS recieves a request for http://foo.bar.com/ , is scans the directory
for a default page, and if found, then sends a redirect to the browser. the
browser then sends a request the new url (this is what you see in the server
variables).
you could write a module that did not use the redirect method, but used url
rewriting and passed the original url as an additional header that the pages
could lookup.
-- bruce (sqlwork.com)
"Daniel Bauke" <bonkey@bonkey.pl.eu.org> wrote in message
news:uGSUnf2mEHA.556@tk2msftngp13.phx.gbl...
> how i can retrieve an exact url typed by user in a browser? in
> particular i'd like to get http://foo.bar.com/ without default content
> page defined in 'Documents' section in iis. i can't find proper
> ServerVariable, nor property in Request.
> the only way i see at the moment is to write own httpmodule or put
> aspnet_isapi.dll in wildcard application maps in iis application config
> and check the url in Application_BeginRequest, but both are extremaly
> unconvinient since i'd like to provide only a simple control for many
> different sites.
> or maybe it's just a misconfiguration? i use asp 1.1sp1 on iis/w2k3, but
> as i mentioned -- it should work in different environments.
>
> --
> Daniel Bauke; http://www.bonkey.pl.eu.org; happiness==bike&&unix^W.net;}
- Next message: Sasha: "Re: 1.1 sp1"
- Previous message: Bill Borg: "Re: Specified argument was out of the range of valid values. Param"
- In reply to: Daniel Bauke: "exact url typed in browser"
- Next in thread: Steve C. Orr [MVP, MCSD]: "Re: exact url typed in browser"
- Reply: Steve C. Orr [MVP, MCSD]: "Re: exact url typed in browser"
- Reply: Daniel Bauke: "Re: exact url typed in browser"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|