haegar / mod-auth-external

Slightly modified Apache mod-auth-external, based on code.google.com export.
5 stars 1 forks source link

Use on Windows with Apache 2.2 #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
"In theory it should now work on any operating system supported by Apache, 
including Windows. However, I do not know that anyone has tried this. If you 
experiment with this, please let us know the results."

I created a 32-bit build of the module at version 3.2.6 on Ubuntu 11.10 i386 
with default compiler flags.  My understanding is that Apache 2 has its own 
dynamic loader and can run module dynamic libs in a platform independent way?

Anyway, this build cannot be correctly loaded in 32-bit Apache 2.2 running on 
Windows 2008 Server R2.  Apache fails with error "not a valid Win32 
application" (or similar).

I haven't tried a Windows build yet but would probably have more success I 
imagine, or at least be able to pinpoint the error.

Original issue reported on code.google.com by tfly...@gmail.com on 14 Mar 2012 at 3:10

GoogleCodeExporter commented 8 years ago
I'm pretty sure you have to compile with the same compiler used to compile 
Apache, in this case that's Microsoft Visual C/C++. (the free downloadable 
version should be good enough)  You'd also probably want the Apache Lounge 
builds of Apache as the official builds use very old compilers and aren't good 
for much.

Original comment by ghoogles...@gmail.com on 9 Dec 2014 at 9:37

haegar commented 8 years ago

Closing old issue from code.google.com