Binaries of Apache 2.2.6 for Windows with OpenSSL 0.9.8g (mod_ssl) and mod_deflate support
Submitted by ross on Wed, 11/21/2007 - 10:00.
UPDATE: Apache now officially includes openssl support. See http://www.apache.org/dist/httpd/binaries/win32/.
I wanted to compile Apache with SSL support, and found the instructions at http://www.devside.net/web/server/windows/apache-ssl-deflate very helpful, but I wanted to automate the process as much as possible.
So I created the makefile apache.mak. To use, you will need to have Cygwin (including flex), ActiveState Perl, an assembler (at least MASM 8.0, I haven't tried NASM), and MSVC 6.0 or later installed. Review the paths at the beginning of apache.mak, and modify as needed. Then, to compile Apache, simply type:$ make -f apache.makThe binaries are available here. To install, follow these steps:
- Download apache_2.2.6-win32-x86-no_ssl.msi:
wget http://www.apache.org/dist/httpd/binaries/win32/apache_2.2.6-win32-x86-no_ssl.msi
- Install Apache:
msiexec /i apache_2.2.6-win32-x86-no_ssl.msi
- Stop Apache:
net stop Apache2
- Uninstall the Apache service:
"C:\Program Files\Apache Group\Apache2.2\bin\httpd" -k uninstall
- Kill the ApacheMonitor:
taskkill /im apachemonitor.exe
- Download apache-2.2.6_openssl-0.9.8g.zip.
- Unzip into the directory you installed Apache in:
unzip -o -d "c:/Program Files/Apache Group" apache-2.2.6_openssl-0.9.8g.zip
- If you are using Cygwin's unzip, and are using NTFS, grant the SYSTEM user full rights to the Apache2 directory, as unzip may have removed them:
cacls "C:\Program Files\Apache Group\Apache2.2" /E /G SYSTEM:F /T
- Install Apache as a service with SSL support:
"C:\Program Files\Apache Group\Apache2.2\bin\htttd" -D SSL -k install
- And finally, start Apache:
net start Apache2
»
- ross's blog
- Login or register to post comments

Deflate on official binaries
Is the mod_deflate not already included in the official binaries?
--Erez
erez,
mod_deflate was not in the 2.0.x version that I started this thread with. It most likely is included now, but I can't be certain, without installing the .msi files.