Writing cross-platform Apache web modules
The first few steps in creating an Apache web module are very similar to creating an IIS module; just step through the New Web Server Application wizard:
- Create a new Web Server Application project.
- If you have Delphi Enterprise, check Linux in addition to Windows for the platform and click Next.
- Select Apache dynamic link module for WebBroker Project Type and click Next.
- You can leave everything as their defaults on the Apache Module Options page, both Apache version and the name of our new Apache module.
After clicking Finish, the Apache web module will be created for you. If you're using Delphi Enterprise or higher, you will have both the Windows and Linux platforms enabled.
Note
Apache on Windows cannot support both 32-bit and 64-bit apps like IIS can – there's no configuration option to tell...