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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to