|
This blog has moved! Please update your bookmarks to http://www.blog.modsecurity.org. |
Main | URL decoding bug fixed »
Posted by ivanr on June 03, 2003.
With module functioning well on Unix-based platforms I decided to start with the Windows port. The job was straightforward (I only tried with the Apache 1.x version): after creating the makefile and getting all the switches right I was rewarded with a file mod_security.dll.
That's when the trouble started - I couldn't open (from the module) any files or write to them. After spending a lot of time debuggung, I found that there seems to exist a problem with ap_popenf (portable Apache function that opens files) - it returns invalid file handles. After replacing the call to ap_popenf with a call to open, everything worked just fine. This is probably something specific to the version of Windows I have (Windows Me) otherwise other people would have reported it by now (I've found only one such report using Google, with no answer).
So, with the exception of the ap_popenf problem, the module seems to work quite well on Windows, passing all regression tests. The code is in the CVS if you want to give it a try.
Posted by ivanr at June 3, 2003 06:57 PM
dfdfsdf
Posted by: majid at June 29, 2003 03:43 PM
I cannot compile it on windows ... please put a binary version for the download or some explanation about the compilation process.
Thanks
Posted by: Astaroth at July 29, 2003 11:46 AM
No, it doesn't work on Windows at the moment, but the next version, v1.6, will. And it is almost finished, I will have it ready in a couple of days.
Posted by: Ivan Ristic at August 2, 2003 09:57 AM