I have translated the Apache 2.4 headers into Delphi, and created a demo web app in Delphi that works with Apache 2.4.7 – …. well almost. There remains one persistent stubborn bug in the demo. Possibly I have the calling conventions wrong.
Any way, if any Delphi developer is interested in writing for modern Apache servers and would like to collaborate with me, post a comment here, or email me. I need help cracking this bug.
Basically, Apache correctly loads the module, and calls the module’s RegisterHooks subroutine. But shortly after returning from RegisterHooks(), the server crashes.
Update
It’s done. I now have a fully functionally demo web-site, written in Delphi 2010 as an Apache module, that plugs into Apache 2.4.7 . Now, I wonder if Embarcadero would be interested in taking ownership of my solution? ….
Did you go to publish it ?
My employer just purchased XE6. It appears that XE6 supports Apache 2.4+, so publishing is now superfluous. That being said, I might just post the project here as an attachment.
Does it support reading configuration directives?
Yes.
Fantastic! Are you going to make it available? For those of us who cannot easily upgrade to DelphiXE6?
It’s done. See the next post.