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.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: Rewriting https to http
Author: Dan 
Date:   28-07-07 14:52

This might help.

You can get to this website through http://freebsddiary.org/ and http://www.freebsddiary.org/ but if you use the former, you are directed to the latter. This redirect is accomplished with the following directives in httpd.conf:

<VirtualHost *>
ServerName freebsddiary.org
Redirect permanent http://www.freebsddiary.org/
</VirtualHost>

Does that give you any ideas? It's not mod_rewrite, but it does what you want.

--
Webmaster

 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:
 Password:
 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

phorum.org