LSP HTTP redirecting



Hi

I have been reading a lot about postings regarding url redirecting in LSP's, and i was hoping someone can clear up something for me. I found there are a lot of people that has quite a number of people with knowledge on the topic.

Like countless postings, i need to redirect a URL. I am looking at the HTTP header is WSPSend to see which page is requested. I suspect that WSPRecv is the wrong place as i am not really concerned with the HTTP response (like HTML code), but what is requested from the server (ie. HOST and GET/POST).

Now this is the part where things become a bit unclear to me. I can change the URL in the HTTP header to point to any other server, but the socket is already connected to a specific server. (LSP connect order : WSPConnect -> WSPSend -> ...) Changing the URL change only causes the browser to stop responding. I assume it's because i am setting HOST (albeit IP or HOST) to an invalid address which does not resolve to an already connected server (IP), right?

Can I just return an INVALID_SOCKET and redirect using a manual WSPConnect call and then posting my redirected URL? The only information available to do a WSPConnect is the actual IP (which was resolved from URL) prior to the (WSPSend) sending the actual HTTP header.

TIA
.



Relevant Pages

  • Re: LSP HTTP redirecting
    ... i need to redirect a URL. ... >> HTTP header is WSPSend to see which page is requested. ... but what is requested from the server (ie. ... I assume it's because i am setting HOST ...
    (microsoft.public.win32.programmer.networks)
  • Re: Newbie with a smallbiz2000 installation, check my config?
    ... > Windows creates a profile path under Documents & Settings. ... > a folder with that name already exists (maybe a local user with the ... > server, open the properties for this folder, and ensure that you have ... > you redirect key folders from a user's profile to a location on your ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: How to intercept error when httpRuntime maxRequestLength is ex
    ... "Hermit Dave" wrote in message ... > client side javascript and http module which could be helpful.. ... > To redirect the client your server has to send back a response. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Folder Redirection Desktop to multiple servers %HOMESHARE%
    ... Windows server 2003 lets you redirect the desktop to a share (is that what ... BTW if you use DFS without File Replication the data will live only on the ... > which would not work (I dont want to preplicate the traffic and not doing ...
    (microsoft.public.windows.group_policy)
  • Re: Fixing URL redirect exploit at /exchweb/bin/auth/owaauth.dll
    ... can be fixed by hard-coding the redirect to your server external IP/domain ... logon.asp) and can be accessed directly from the internet of an OWA server. ... PCI is virtually impossible. ...
    (microsoft.public.windows.server.sbs)

Loading