tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oscar Carrillo <tom...@daydream.stanford.edu>
Subject Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16
Date Mon, 02 Feb 2004 20:26:44 GMT
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.conf VirtualHost section of myhost.mydomain
Redirect / https://myhost.mydomain/mywebapp

Also, you can't include the mod_jk configuration. You must put the mount 
commands explicitly in each virtual host. If you include the modjk conf 
file "Include mod_jk.conf", then it will be global and all hosts will get 
access. This is likely your problem especially if you haven't put mod_jk 
mount commands in "ssl.conf".

Oscar
http://www.linuxjava.net/howto/webapp/

On Mon, 2 Feb 2004, Ralf Schneider wrote:

> 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 added this line to the virtual 
> host block for the Non-SSL part of the website in httpd.conf:
> 
> Redirect /demo_02 https://localhost/demo_02
> 
> But I still can access the webapp with both http://localhost/demo_02 and
> https://localhost/demo_02.
> 
> Ralf.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message