Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-04 Thread Ralf Schneider
Am Mittwoch, 4. Februar 2004 21:10 schrieb Oscar Carrillo: > You should try it in the VirtualHost declaration. That's where I would put > it. No, it doesn't work either. I've no more ideas. Ralf. - To unsubscribe, e-mail: [EMAI

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-04 Thread Oscar Carrillo
You should try it in the VirtualHost declaration. That's where I would put it. Oscar On Wed, 4 Feb 2004, Ralf Schneider wrote: > Am Mittwoch, 4. Februar 2004 20:21 schrieb Oscar Carrillo: > > Alternatively, if you've gotten it work in both HTTP and HTTPS, you can > > redirect HTTP to HTTPS. The

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-04 Thread Ralf Schneider
Am Mittwoch, 4. Februar 2004 20:21 schrieb Oscar Carrillo: > Alternatively, if you've gotten it work in both HTTP and HTTPS, you can > redirect HTTP to HTTPS. Then it works, but you don't have the option of > having a separate webapp for HTTP. I tried this with the following statement in httpd.con

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-04 Thread Ralf Schneider
Am Mittwoch, 4. Februar 2004 21:53 schrieb arvind singh: > Try this. > > workers.tomcat_home=/var/tomcat4 > workers.java_home=/usr/java/java > ps=/ > > #-- Active connectors. Typically one per tomcat instance. > worker.list=ajp13 > > #-- ajp13 WORKER PARAMETERS -- >

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-04 Thread arvind singh
And add this to your Tomcat's server.xml - Original Message - From: "Oscar Carrillo" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, February 04, 2004 2:21 PM Subject: Re: HTTPS

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-04 Thread arvind singh
worker.ajp13.lbfactor=1 - Original Message - From: "Oscar Carrillo" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, February 04, 2004 2:21 PM Subject: Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-04 Thread Oscar Carrillo
Hi, I assume that's an Apache error your getting. If that's true, then that means it's not mapped to Tomcat. I don't know anything about the mod_jk2 syntax, which sounds like the problem. Do you do the proper include for the workers2.properties in httpd.conf, which I assume you need to do? Alte

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-04 Thread Ralf Schneider
Am Montag, 2. Februar 2004 22:40 schrieb Oscar Carrillo: > The method I describe may not work w/ mod_jk2. Frankly, I don't know. But > I did a search and found this site, which seems to show that you can > define these things in workers2.properties > > http://www.pixelfreak.net/howto/apache2_jk2_to

RE: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-03 Thread Dean Searle
this helps you out.*** Dean -Original Message- From: Oscar Carrillo [mailto:[EMAIL PROTECTED] Sent: Mon 2/2/2004 4:04 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16 Hi, The JkMount directives tell Apache to pass these request thru

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
The method I describe may not work w/ mod_jk2. Frankly, I don't know. But I did a search and found this site, which seems to show that you can define these things in workers2.properties http://www.pixelfreak.net/howto/apache2_jk2_tomcat/socket.html Oscar http://www.linuxjava.net/howto/webapp/ On

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
Hi, The JkMount directives tell Apache to pass these request thru the Connector to Tomcat. I do this very same thing for jWebMail, cause I don't want it accessible thru http, only https. Here's my ssl.conf config section for it: -- #O

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Ralf Schneider
Am Montag, 2. Februar 2004 21:47 schrieb Oscar Carrillo: > You must only mount (no global include mod_jk2.conf") the webapp in > "ssl.conf", and additionally you can redirect http to https in > "httpd.conf" so that ppl automatically get moved to https. I added the following three lines to ssl.conf

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
You're right it's for mod_jk. But the httpd.conf would mostly be the same, which is where your problem is. You must only mount (no global include mod_jk2.conf") the webapp in "ssl.conf", and additionally you can redirect http to https in "httpd.conf" so that ppl automatically get moved to https

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Ralf Schneider
Am Montag, 2. Februar 2004 21:26 schrieb Oscar Carrillo: > I believe you need to setup a VirtualHost section in httpd.conf even if > you don't really need Virtual Hosting. I did that. > Also try Redirecting the whole site. I'm not sure if I've tried just the > webapp. I'm not sure if you need to

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Ralf Schneider
Am Montag, 2. Februar 2004 21:21 schrieb Oscar Carrillo: > Please try what I describe in my earlier post, and check my web page for > a better description: > > http://www.linuxjava.net/howto/webapp/ I took a look at it, but it seems to be a howto for mod_jk with Tomcat 4.1.x. But I have used mod_

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
I believe you need to setup a VirtualHost section in httpd.conf even if you don't really need Virtual Hosting. Also try Redirecting the whole site. I'm not sure if I've tried just the webapp. I'm not sure if you need to compile the rewrite module for the redirect, but I don't think so. #httpd.c

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
Please try what I describe in my earlier post, and check my web page for a better description: http://www.linuxjava.net/howto/webapp/ Oscar On Mon, 2 Feb 2004, Ralf Schneider wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Am Montag, 2. Februar 2004 17:30 schrieb Yiannis Mavrouka

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Ralf Schneider
Am Montag, 2. Februar 2004 21:01 schrieb Oscar Carrillo: > I think what the user is looking for is this in httpd.conf for your > virtual host: > > #httpd.conf VirtualHost section of myhost.mydomain > Redirect /mywebapp https://myhost.mydomain/mywebapp I tried this, but it doesn't seem to work. I a

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Ralf Schneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 2. Februar 2004 17:30 schrieb Yiannis Mavroukakis: > Use the Location directive and stick SSLRequireSSL in it. > > > SSLRequireSSL > I tried this, but it doesn't seem to work. I actually have three location sections in the virtual

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
Hi, It sounds like you're talking about configuring Tomcat to do SSL, but I assume the user is using Apache for SSL. In the normal scenario the connector would ONLY communicate on port 8009. Port 8443 is generally for Tomcat to serve pages directly using SSL. I think what the user is looking f

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Jeff Tulley
You can also put a transport guarantee of "CONFIDENTIAL" in web.xml When you do make sure that your redirect ports on the Apache connector in server.xml are correct (default is 8443, needs to be 443 if you are using Apache for SSL). >>> [EMAIL PROTECTED] 2/2/04 10:32:51 AM >>> I describe this i

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
BTW, there's sample http.conf, ssl.conf, and server.xml files there. In the config files, I denote your host that resolves to an IP as "myhost.mydomain", and your virtual host as "host1.domain". http://www.linuxjava.net/howto/webapp/install_files/ Oscar On Mon, 2 Feb 2004, Oscar Carrillo wrote:

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
I describe this in my HOWTO. http://www.linuxjava.net/howto/webapp/ You either redirect traffic from http to https for that virtual host, or you only mount the webapp in the http virtual host and not for the https. Oscar Carrillo On Mon, 2 Feb 2004, Ralf Schneider wrote: > Am Montag, 2. Febru

RE: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Yiannis Mavroukakis
reSSL Yiannis. -Original Message- From: Ralf Schneider [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 16:13 To: Tomcat Users List Subject: Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16 Am Montag, 2. Februar 2004 13:55 schrieb Yiannis Mavroukakis: > Best remove that line, stick it

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Ralf Schneider
Am Montag, 2. Februar 2004 13:55 schrieb Yiannis Mavroukakis: > Best remove that line, stick it in your httpd.conf instead along with the > hostname. This wasn't the problem. I did not notice that mod_ssl was not compiled into httpd :-( After a rebuild of Apache (now with SSL support :-) and work

RE: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Yiannis Mavroukakis
Best remove that line, stick it in your httpd.conf instead along with the hostname. -Original Message- From: Ralf Schneider [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 12:16 To: Tomcat Users List Subject: Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16 -BEGIN PGP SIGNED MESSAGE

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Ralf Schneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 2. Februar 2004 13:00 schrieb Yiannis Mavroukakis: > This is an httpd question but here goes :) > Just because you declared your virtual host/port pair that doesn't > mean that httpd is listening to port 443. > Therefore you need to add a Li

RE: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Yiannis Mavroukakis
ginal Message- From: Ralf Schneider [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 11:42 To: 'Tomcat Users List' Subject: HTTPS with Apache 2.0.48 and Tomcat 5.0.16 Hi, I try to set an Apache 2.0.48 with a connection to Tomcat 5.0.16 via mod_jk2 2.0.2. The static pages should be acce

HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Ralf Schneider
Hi, I try to set an Apache 2.0.48 with a connection to Tomcat 5.0.16 via mod_jk2 2.0.2. The static pages should be accessed via normal HTTP whereas the dynamic pages of my webapp should only be accessible via HTTPS for security. I installed a certificate in /usr/local/apache2/conf/ssl.cert and