Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

debug mod_isapi apache 2.2

64 views
Skip to first unread message

drei...@gmail.com

unread,
Jan 12, 2013, 4:42:13 AM1/12/13
to
Hello,

i have custom made dll (delphi) that used to run on IIS but few days ago a migrated to apache and now dll starts crashing. Using rewrite engine .exe is rewritten to .dll . Everything works for 2-3 hours and then problem starts.

This is from log:

access.log

80.121.96.141 - - [10/Jan/2013:19:55:20 +0000] "GET /cgi-bin/ANLV_SV/ANLV_SV_user.exe?usgetfile=0&USemail=PGANRB100110&ProgVers=ANRB403&ReqANRBData=0 HTTP/1.1" 500 545 "-" "Mozilla/3.0 (compatible; Indy Library)"

error.log

[Thu Jan 10 19:55:20 2013] [error] [client 80.121.96.141] malformed header from script. Bad header=<h1>Internal Server Error 500<: anlv_sv_user.dll
[Thu Jan 10 19:55:20 2013] [warn] [client 80.121.96.141] ISAPI: HSE_STATUS_ERROR result from HttpExtensionProc(): C:/inetpub/wwwroot/cgi-bin/ANLV_SV/anlv_sv_user.dll



Probably you can't help me with dll but i would like to log processing by mod_isapi module. In Directory directive under httpd.conf i added following

ISAPIAppendLogToErrors on
ISAPILogNotSupported on

but nothing related to ISAPI is logged inside access or error log. From http://httpd.apache.org/docs/2.2/mod/mod_isapi.html this should work. Am i doing something wrong ?

Thanks
0 new messages