tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Bruton <sbru...@neospire.net>
Subject Re: Tomcat + Apache + SSL
Date Tue, 23 Sep 2003 18:07:04 GMT
You can use mod_rewrite in Apache. It's been a while but I believe
something such as this in your httpd.conf should do the trick:

RewriteEngine On
RewriteRule ^/securecontext(.*) https://servername/securecontext$1 [R]

I may be off a bit, so check the docs at:

http://httpd.apache.org/docs/mod/mod_rewrite.html

or this helpful guide:

http://www.engelschall.com/pw/apache/rewriteguide/

On Tue, 2003-09-23 at 12:04, Robert D. Abernethy IV wrote:
> I have apache set up to redirect requests for a specific context to
> Tomcat.  I am curious if there is a way to force all requests to that
> context to be redirected through SSL.
> 
> http://servername/securecontext --> https://servername/sercurecontext
> http://servername/everythingelse --> http://servername/everythingelse
> 
> Is this something I set up in workers2.properties or httpd.conf?  Can
> anyone point me at a decent tutorial?  Thanks.
> 
> Rob Abernethy
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
-- 
Sean Bruton           <sbruton@neospire.net>
Senior Engineer       Network Services
NeoSpire, Inc.        www.neospire.net


Mime
View raw message