标签归档:mod_jk

Configuring Tomcat5 and Apache2 with Virtual Hosts using mod_jk

Overview

This tutorial explains how I was able to setup a web server in order to support Java Server Pages (JSP) and Servlets using virtually hosted websites. Although this setup worked for this particular environment, I can make no guarantees that it will work for yours, but it should with some tweaking. I’ll explain later on. I have spent a lot of time gathering several resources in order to get this to work. Many portions of these resources have been deprecated and required a few workarounds. It is my intention that this tutorial will help anyone that has attempted to install such a system without success. If you find any inconsistencies within this tutorial, please notify me at the email address above. 继续阅读

RHEL5 Apache+Tomcat整合,同时支持jsp与php

配置环境:
OS: RHEL5 with kernel 2.6.18-8.1.1.el5
httpd-2.2.3-6.el5.i386.rpm
apache-tomcat-6.0.14.tar.gz
jdk-6u3-linux-i586.bin
mod_jk-1.2.23-apache-2.2.x-linux-i686.so
官方宣称mod_jk-1.2.26-httpd-2.2.6.so支持Apache 2.2.x及2.2.6以后的版本,但经实验,1.2.26的mod_jk在RHEL5中会报错。
下载地址:
http://java.sun.com/javase/downloads/index.jsp
http://www.apache.org/dist/tomcat/tomcat-connectors
http://apache.mirror.phpchina.com/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.23/ 继续阅读

Working with mod_jk

http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html

 

Working with mod_jk

By Gal Shachor <shachor@il.ibm.com>

Table of Contents

继续阅读

Linux下Apache与Tomcat整合的简单方法

1、准备,下载需要的文件。
这里假定你已经正确安装配置好了JDK。
到Apache官方网站下载所需要的文件:
httpd-2.2.0.tar.gz
apache-tomcat-5.5.12.tar.gz
jakarta-tomcat-connectors-1.2.15-src.tar.gz

其中httpd和jakarta-tomcat-connectors为源码包,apache-tomcat为二进制包。 继续阅读