1.1 下载、安装Apache2.2.17
地址:http://httpd.apache.org/download.cgi
下载的文件:httpd-2.2.17-win32-x86-no_ssl.msi
下载之后直接安装,步骤很简单,下一步即可。
验证 Apache安装成功,可以浏览: http://localhost,看到下面的“It works”页面就算成功
1.2 下载mod_jk-1.2.30
地址:http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.30/
下载的文件名:mod_jk-1.2.30-httpd-2.2.3.so
注意mod_jk 与apache 服务器的版本必须匹配,下面是从下载页面拷来的说明,清楚的说明了它们之间的匹配关系。
- mod_jk-1.2.30-httpd-2.2.3.so is for Apache 2.2.x. It has been build against version 2.2.3, but should work with Apache 2.2.0 and later. Rename to mod_jk.so before putting it in your Apache2.2/modules directory or adjust your LoadModule statement.
mod_jk-1.2.30-httpd-2.2.0.so is for Apache 2.0.x. It has been build against version 2.0.53, and should work with Apache 2.0.53 and later. Rename to mod_jk.so before putting it in your Apache2.0/modules directory or adjust your LoadModule statement.