logo       

Re: Problem configuring Apache 2.0/ Tomcat: msg#00019

network.samba.java

Subject: Re: Problem configuring Apache 2.0/ Tomcat

Hi,

I should have sent this a while back, so sorry for the delay.
I eventually managed to have this working on Linux as well. This was tested for Fedora Core 4 and Red Hat Linux 9.

This is what I did:

Got the source code for apache 2.0.53
Compiled it

Got the source code for mod_jk
Compiled it specifying the path to apache 2.0.53

Recompiled apache

I restarted apache and Tomcat, and it worked.

The following command lines are the ones I used:

*Get lastest stable Apache 2.0*

cd /path/to/put/source


export CVSROOT=:pserver:anoncvs@xxxxxxxxxxxxxx:/home/cvspublic

cvs login

cvs checkout -d httpd-2.0 -r APACHE_2_0_BRANCH httpd-2.0

cd httpd-2.0/srclib/

cvs checkout -r APR_0_9_BRANCH apr

checkout -r APU_0_9_BRANCH apr-util

cd ..

*Build Apache*

./buildconf

./configure –enable-ssl

make

make install

*Get mod_jk source*

* *

*Compile mod_jk (note: you need java sdk installed for this)*

* *

tar -xf jakarta-tomcat-connectors-1.2.14.1-src.tar

cd jakarta-tomcat-connectors-1.2.14.1-src

./configure --with-apxs=/usr/local/apache2/bin/apxs --with-java-home=/opt/jdk1.5.0_05 --with-java-platform=2 --enable-jni

ls

cd jk/native/

./configure --with-apxs=/usr/local/apache2/bin/apxs --with-java-home=/opt/jdk1.5.0_05 --with-java-platform=2 --enable-jni

ls

make

make install

* *

*REBUILD APACHE*

./buildconf

./configure –enable-ssl

make

make install



Michael B Allen wrote:

On Thu, 6 Oct 2005 09:10:40 +0000 (UTC)
Yannick Lavanant <yannick@xxxxxxxxxxxxxx> wrote:


Hi,

I'v read through a few posted mails already and done some researches on google
too, but I can't make jcifs to work with apache and tomcat.

I managed to setup the whole thing using a Windows platform, so I know I have
the basics right.
My problem is that I can't make it work on Linux.
If I connect directly to Catalina's port the authentication works fine, but if I
try to go through apache, it doesn't work. mod_jk is configured so that apache "talks" to tomcat all right. So if I remove


I think mod_jk doesn't support the NTLM handshake. At least I don't
recall anyone ever claiming they solved the problem.


the filter entries from web.xml my site shows otherwise I get the following
error page:

-->
Unauthorized
This server could not verify that you are authorized to access the document
requested. Either you supplied the wrong credentials (e.g., bad password), or
your browser doesn't understand how to supply the credentials required.

Additionally, a 401 Authorization Required error was encountered while trying to
use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/2.0.54 (Fedora) Server at vmgtci2736 Port 80
<--

This is happening for IE and Firefox alike.

Again, I have this working for Windows, so I suppose I just need help to setup
mod_jk or Apache so that the authentication can proceed.

Thanks
Yannick








<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise