Here are some updates attached that should work now for the apache modules.
Just overwrite these files in your FPC /packages/fcl-web/src/ folder and recompile both FPC and Lazarus.
Or it should work by copying them next to your project files theoretically.
Changes:
1. Added: CGI and Apache applications' temporary uploaded files will be deleted after a request is handled /html forms with file upload(s)/
2. Fixed: Temporary files are not created with a single CRLF in them for html forms where no file was uploaded.
3. Added: Apache applications are now processing and passing the input parameters GET/PUT (QueryFields, ContentFields, uploaded files, etc.). This was only there for CGI applications.
4. THTTPHeader and descendants RemoteAddress property renamed to RemoteAddr for Delphi compatibility
5. Note: For some unknown reason the
ap_get_remote_host(FRequest^.Connection, FRequest^.Per_Dir_Config, REMOTE_HOST, Nil)
is always crashing for me, therefore this field is not populated at the moment (commented out).
This would force a DNS lookup according to the HostnameLookups setting in the Apache configuration.
I think that's it. If it works I'll submit these changes into the bug tracking system so it can be further rewieved and integrated into the SVN.