Hi Rick !

Ahhh! Now you're getting somewhere ! I remember when I first encountered those messages -- it was hot and stuffy -- but I digress ...

Ok, the mod_jk2.conf I use is an empty file. You don't really need it, and I suppose you could safely comment out the Include line. You may need it later, should you use JNI or Unix sockets because you will need to define your mappings using JkUriSet. But that is another story. For now, let's use a simple configuration :

1. Create an empty file mod_jk.conf inside /etc/httpd2/conf. You may want to put in some comments such as :
#
# mod_jk.conf
#
# context mappings to go here


2. Make sure the Include directive points to it

3. You may need to set an environment variable :
export serverRoot=/etc/httpd2

4. Edit your jk2.properties and workers2.properties using channel sockets (I'm still trying to figure out how to get JNI and UNIX sockets working).

5. Start Tomcat

6. Start Apache

Bear in mind that you should shutdown Tomcat and Apache before editing the configuration files because the files may be modified by the server processes themselves.

The error you are seeing refers to the pre-packaged certificates that come with the apache2 rpm. If you create a self-signed certificate, and install it, that error and a bunch of others referring to "snakeoil.com" will disappear. For information on generating a self-signed certificate, refer to :
http://www.flatmtn.com/computer/Linux-SSLCertificatesApache.htm


It's actually a good idea to create a certificate for yourself, if , for no other reason, than to eliminate the errors and have SSL enabled all at one go. Bear in mind though that this is not as straightforward as it seems. If you encounter problems here, email me off-list.

Regards,
pascal chong




Rick Roberts wrote:


Pascal,

I installed the RPMs that you listed.
Tomcat4 runs fine as standalone.
Apache2 gives the error that it can't find mod_jk2.conf because the httpd2.conf Includes it, but it does not yet exist.


Can you give me a simple example of mod_jk2.conf, maybe just enough to get Apache to connect to the Tomcat examples?



One other thing.
I imported the FalseHope public key but when I install the RPM packages I still get the following warning:


warning: apache2-2.0.45-1.7.2.i386.rpm: V3 DSA signature: NOKEY, key ID 307a10a5

Is this reason for concern?

Thanks,




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to