Re: [users@httpd] Forcing certain pages from HTTP to HTTPS and vice versa

2011-12-27 Thread Igor Cicimov
Also the rules for HTTPS-->HTTP should be in your HTTPS VirtualHost section. How does your ssl configuration look like? On Wed, Dec 28, 2011 at 10:18 AM, Igor Cicimov wrote: > Try removing this line > > RewriteCond %{REQUEST_URI} !secure(.*)$ > > Igor > > On Wed, Dec 28, 2011 at 7:55 AM, Clay P

Re: [users@httpd] Forcing certain pages from HTTP to HTTPS and vice versa

2011-12-27 Thread Igor Cicimov
Try removing this line RewriteCond %{REQUEST_URI} !secure(.*)$ Igor On Wed, Dec 28, 2011 at 7:55 AM, Clay Porter wrote: > I am trying to set up rewrite rules so that when users access certain > pages via HTTP they are redirected to HTTPS. Conversely, if they > access pages that do not require

[users@httpd] Forcing certain pages from HTTP to HTTPS and vice versa

2011-12-27 Thread Clay Porter
I am trying to set up rewrite rules so that when users access certain pages via HTTP they are redirected to HTTPS. Conversely, if they access pages that do not require security I want the user to be redirected from HTTPS to HTTP. I have looked at numerous examples and read the rewrite rule documen