[us...@httpd] Switching between http and https

2009-04-01 Thread inas inassen
Hi all, I'm using mod_proxy balancer with tomcat and apache. I used mod_rewrite to switch between http and https When I have the pattern /nossl ==> I want to redirect to http When I have the pattern /ssl ==> I want to redirect to https so I write the following rules: RewriteEngi

Re: [us...@httpd] Switching between http and https

2009-04-01 Thread Brian Mearns
On Wed, Apr 1, 2009 at 11:19 AM, inas inassen wrote: > > Hi all, > > I'm using mod_proxy balancer with tomcat and apache. > I used mod_rewrite to switch between http and https > > When I have the pattern /nossl ==> I want to redirect to http > When I have the pattern /ssl   ==> I want to redirect

RE: [us...@httpd] Switching between http and https

2009-04-01 Thread inas inassen
:11 -0400 > From: mearn...@gmail.com > To: users@httpd.apache.org > Subject: Re: [us...@httpd] Switching between http and https > > On Wed, Apr 1, 2009 at 11:19 AM, inas inassen wrote: > > > > Hi all, > > > > I'm using mod_proxy balancer with tomc

Re: [us...@httpd] Switching between http and https

2009-04-01 Thread Brian Mearns
On Wed, Apr 1, 2009 at 1:24 PM, inas inassen wrote: > Thanks Brian, > > you right, I did correction, but it seems not working for ssl and it works > for nossl > > this is my rewrite rules > > RewriteEngine On > RewriteLog logs/webserver1/rewrite_log > # > RewriteCond %{HTTP_HOST} ^webserver1.* > R

RE: [us...@httpd] Switching between http and https

2009-04-01 Thread inas inassen
%{REQUEST_URI} [P,QSA,L] Thanks. Inas. > Date: Wed, 1 Apr 2009 14:15:42 -0400 > From: mearn...@gmail.com > To: users@httpd.apache.org > Subject: Re: [us...@httpd] Switching between http and https > > On Wed, Apr 1, 2009 at 1:24 PM, inas inassen wrote: > > Thanks Bri