Jump to content

Not catching URI with DLL


Ron

Recommended Posts

Hi,

 

Running as localhost I can easily catch the PATH_INFO part of a URI, like http://localhost:8077/test

 

But not when using a DLL under Apache, only get HTTP Exception: "HTTP/1.1 302 Found"

and invalid session if I try in the browser.

 

Then trying to fish out the suggested Location info from the header, I got nothing.

 

I am trying the format https://myserver.com/appfolder/app.dll/testuri- but not working.

 

I had a rewrite for redirecting http to https, but removing that did not affect this.

Using httpClient.HandleRedirects := True; did not affect the issue.

 

 

Anyone had the same issue, or know about a fix?

 

Update: tried on IIS 8.5, same thing. Only invalid session.

 

Seems like it is not possible to trigger the OnHTTPCommand when running as ISAPI?

 

Nobody ever tried that? This must be a URL rewrite issue...

Link to comment
Share on other sites

I noticed there were some "/Handleevent" or whatever PATH_INFO coming in

when it ran as localhost, but silent at HTTPCommand when running under ISAPI.

 

It made me wonder - is the framework sending requests to itself through this

interface, and what if that is blocked under ISAPI? Are we missing something?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...