The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: Rewriting https to http
Author: niewczyk 
Date:   30-07-07 14:13

First I'm sorry for any misunderstanding. I keep forgetting that all the flavors of unix don't act the same way for every command. I thought apache was all the same but seems as it is not. I'm running Red Hat Enterprise Linux ES release 4 (Nahant Update 4).

I've also posted my question to a
Haven't received a response yet.

I need to rewrite 6 URL's to https and the rest to http.
I can rewite the URL to https fine via:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule /user http://%{HTTP_HOST}%{REQUEST_URI} [L]

However, I don't know how to write a RewriteRule from HTTPS to HTTP.
Everthing I try fails.


 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Rewriting https to http   new
niewczyk 27-07-07 21:48 
 Re: Rewriting https to http   new
Dan 28-07-07 14:52 
 Re: Rewriting https to http   new
niewczyk 30-07-07 13:18 
 Re: Rewriting https to http   new
Dan 30-07-07 13:27 
 Re: Rewriting https to http   new
niewczyk 30-07-07 14:13 

 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum