Mark,

1.you can run iis as a process rather than a service and use inetinfo.exe as
the host application for your isapi dll
2. try Intrabob (can't remember the url)
3. OmniHTTPd : I prefer to use this web server for local testing:

http://www.omnicron.ca


regards,


Steve

> -----Original Message-----
> From: Mark Derricutt [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 11 April 2001 11:20
> To: Multiple recipients of list delphi
> Subject: [DUG]: Debugging an ISAPI
> 
> 
> Hiya, I was wondering the best way to debug an ISAPI?  I have 
> one project 
> that IIS insists on returning "Internal Server Error" 
> messages for, from 
> looking at the logs my dll writes (or is supposed to write), 
> it doesnt seem 
> like the DLL is even reaching any of my code.
> 
> I'm guessing its possibly some problem in my DPR or 
> something, but not 
> sure, this is what I have (USE_ISAPI is defined in the 
> project options):
> 
> {$IFDEF USE_ISAPI}
> library td;
> {$ELSE}
> program td;
> {$APPTYPE CONSOLE}
> {$ENDIF}
> 
> uses
>       HTTPApp,
> {$IFDEF USE_ISAPI}
>       ISAPIApp,
> {$ELSE}
>       CGIApp,
> {$ENDIF}
>       td1 in 'td1.pas' {WM: TWebModule},
>       pplutes in 'pplutes.pas';
> 
> {$R *.RES}
> 
> {$IFDEF USE_ISAPI}
> exports
>       GetExtensionVersion,
>       HttpExtensionProc,
>       TerminateExtension;
> {$ENDIF}
> 
> begin
>       IsMultiThread := True;
>       Application.Initialize;
>       Application.CreateForm(TWM, WM);
>       Application.Run;
> end.
> 
> -- 
> There are exceptions, I'm sure, but the Windows 2000 on-line community
> seems to have, in general, the moral and spiritual qualities of your
> average porn site. (c) Bryan Pfaffenberger, Linux Journal, Jan 2001.
> --------------------------------------------------------------
> -------------
>     New Zealand Delphi Users group - Delphi List - 
> [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED] 
> with body of "unsubscribe delphi"
> 
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to