DeutschEspañolFrançaisItalianoNederlandsPortuguêsΕλληνικάРусскийالعربية中文(简体)中文(繁體)日本語한국어
 
Donate Bitcoins
Google
 
www smithii.com
 

Binaries of Apache 2.2.6 for Windows with OpenSSL 0.9.8g (mod_ssl) and mod_deflate support

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.mak

The binaries are available here.

To install, follow these steps:

  1. 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
  2. Install Apache:
    msiexec /i apache_2.2.6-win32-x86-no_ssl.msi
  3. Stop Apache:
    net stop Apache2
  4. Uninstall the Apache service:
    "C:\Program Files\Apache Group\Apache2.2\bin\httpd" -k uninstall
  5. Kill the ApacheMonitor:
    taskkill /im apachemonitor.exe
  6. Download apache-2.2.6_openssl-0.9.8g.zip.

  7. 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
  8. 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
  9. Install Apache as a service with SSL support:
    "C:\Program Files\Apache Group\Apache2.2\bin\htttd" -D SSL -k install
  10. And finally, start Apache:
    net start Apache2

To verify it's working, browse to https://127.0.0.1/. Since this is a self signed certificate, you will receive a message about an unknown certificate authority. Simply click 'Ok' and you should see Apache's standard welcome page.

Note: The .so files are actually Win32 DLL executables, they just have the standard Linux file extension.

Other keywords: Apache2, binary, deflate, executables, mod_ssl, SSL, Win32

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

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.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
DeutschEspañolFrançaisItalianoNederlandsPortuguêsΕλληνικάРусскийالعربية中文(简体)中文(繁體)日本語한국어
 
Donate Bitcoins
Google
 
www smithii.com
 
Special thanks to Riester Rente Online for a generous donation!