Questions tagged [isapi]

The Internet Server Application Programming Interface (ISAPI) is an N-tier API of Internet Information Services (IIS).

410 questions
6
votes
1 answer

Isapi filter not working on IIS 7 (which did work on IIS 6)

I have an Isapi dll which performs some basic URL rewriting. It works fine on II6. However, now my dev machine has been upgraded to Windows 7, I cannot get it to work under IIS 7 Is there anything special that needs to be done to get this to…
ChrisCa
  • 10,876
  • 22
  • 81
  • 118
5
votes
1 answer

IIS and Delphi - Get the application folder inside ISAPI

When running an ISAPI application on IIS, if we call ParamStr(0) or Application.ExeName inside our ISAPI we will get the folder that IIS is installed (C:\windows...). Is there any way of getting the folder path which contains my ISAPI instead of…
Rafael Colucci
  • 6,018
  • 4
  • 52
  • 121
5
votes
1 answer

Finding out the physical path of an ISAPI dll

I'm converting a Delphi ISAPI dll to work better on IIS 7.0 and 7.5. The ISAPI used to read its configuration from the registry but I wanted to convert that to using the web.config file in the same folder. It worked fine with CGI but the ISAPI is…
Stephane
  • 3,173
  • 3
  • 29
  • 42
5
votes
3 answers

How to set multiple cookies in ISAPI filter

I faced a problem to set multiple cookies in ISAPI filter. I want to add the HttpOnly flag into all cookies. So, in my first attempt, I split the cookies value and add the HttpOnly flag, then I combine them into one string, invoke…
5
votes
0 answers

How do I see which files are in the usermode cache in IIS7.5?

The kernelmode static content cache is part of HTTP.SYS and is rather straightforward to configure. When debugging, you can always inspect the contents of the kernelmode cache with the command: netsh http show cachestate But the usermode cache in…
Jacob Hamacher
  • 574
  • 7
  • 13
4
votes
5 answers

Prevent Delphi COM component from showing MessageBox()

We have a Delphi 2007 COM component being executed from an ISAPI app. The COM component is hanging the app because it is attempting to display a MessageBox(). The call to MessageBox() must be occurring in the Delphi RTL becase it is not in our…
Ken Byington
  • 160
  • 9
4
votes
1 answer

retrieve the client certificate chain from an ISAPI request

I would like to retrieve the entire client certificate chain from a request in ISAPI. I already succeeded to get the first certificate in the client's certificate chain by invoking the code below: LPEXTENSION_CONTROL_BLOCK…
PLI
  • 135
  • 5
4
votes
1 answer

issues using X-Forwarded-For Log Filter for Windows Servers

I've encountered some problems trying to use X-Forwarded-For Log Filter for Windows Servers. I've downloaded binaries (x86 version) and followed to installation manual from…
Rinat
  • 111
  • 1
  • 2
  • 8
4
votes
2 answers

CodeSite Logging From Delphi ISAPI

I have CodeSite Express, bundled with Delphi XE Enterprise. Right now I'm developing an ISAPI application in XE (I trace and debug using attach to process in XE - works fine) and I'd like to get some CodeSite messages out of my ISAPI application.…
Vector
  • 10,879
  • 12
  • 61
  • 101
4
votes
3 answers

ISAPI Extension gives 404 on IIS7

I'm running windows 7 64-bit and trying to load an ISAPI Extension I'm busy writing on my local IIS7 machine. I added the location to the DLL under "ISAPI and CGI Restrictions" I made the application pool recognize 32-bit applications (Extension is…
user85569
  • 394
  • 3
  • 10
4
votes
2 answers

Windows CE 5.0 HTTPD <-> .NET Application

I'm what is the most practical way of coupling a HTTPD Web server of a Windows CE 5.0 Device to a .NET application that runs on the same Windows CE device? My first idea was to build an ISAPI extension that would forward incoming http requests to a…
Chris
  • 2,296
  • 4
  • 27
  • 46
4
votes
1 answer

Controlling a long running and critical ISAPI process

Scenario: Client makes ISAPI call with POST to IIS 7.5 server - the call will generate mission critical output to be distributed to numerous users. (using Delphi XE with Indy 9 HTTP client in this case); ISAPI process takes a LONG TIME to complete…
Vector
  • 10,879
  • 12
  • 61
  • 101
4
votes
4 answers

IIS 7.5 crashes after a few requests (with Django + PyISAPIe)

I managed to run Django using IIS as webserver (using PyISAPIe) and everything goes well in my test server, mounting Windows 2008 Server R2 64bit. Then I installed the application on another server with the same configuration and it works fine for…
Don
  • 16,928
  • 12
  • 63
  • 101
4
votes
2 answers

Render ASP in pages with .html extension in Windows CE

I want to be able to use the .html extension to render ASP pages. I am using Windows CE 6 at the moment with the default web server, ASP is turned on. My registry key looks like HKEY_LOCAL_MACHINE\COMM\HTTPD\ScriptMap with the following string…
Chris
  • 26,744
  • 48
  • 193
  • 345
4
votes
1 answer

IIS7 ISAPI Filter Module & HttpModule Events - How do they line up?

So IIS7 in Integrated Pipeline mode uses a IsapiFilterModule to shim ISAPI filter DLL's and fire off the correct "events" on the filters, which is quite different than previous versions of IIS or IIS7 in classic mode because this means that…
1
2
3
27 28