httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eduardo Franco <>
Subject Re: mod isapi
Date Tue, 15 Jul 2003 00:02:10 GMT
I think the better question would be: Since when I can't use mod_isapi under

If I can compile it as a shared object... why not use it?!

I perfect use case for this would be:

I've a product for WIN + IIS it's a ISAPI extension/filter, now I've to
por it to Linux + Apache... to don't split my product into two components...
I decided to port the ISAPI extension/filter to linux and run it on mod_isapi
+ mod_filter (module I'd created to emulate the ISAPI filter).

Now it's just one Project for two plataforms... it's wonderful to manage!

Ok! I'm a lunatic... but it save me a lot of time... But try it out with
gcc + Windows... you'll see the same error. It's a problem o language standard
not OS specific!

And the signature of the function in mod_isapi.h is different from the ISAPI
specification! Wich require a return type of int!


Eduardo Franco

>On Mon, 14 Jul 2003, Eduardo Franco wrote:
>> When I was trying to compile an ISAPI extendion under linux (with gcc
>> and apache 2.4.43, using the mod_isapi) I got the following error message.
>> was mixing C++ with C (using extern "C" directive).
>> /usr/src/apache/httpd-2.0.39/modules/arch/win32/mod_isapi.h:77: ISO C++
>> forbids declaration of
>Since when can you use mod_isapi on Linux?  It's in modules/arch/win32/
>because it's only intended for use on Windows platforms.

View raw message