Redirecting access in Apache to https://

Ken Bradford ken at alpha2.com
Thu May 27 09:50:35 EDT 2004


> -----Original Message-----
> From: colug-bounces at colug.net [mailto:colug-bounces at colug.net]On Behalf
> Of Josh Glover
> Sent: Thursday, May 27, 2004 7:57 AM
> To: COLUG
> Subject: Re: Redirecting access in Apache to https://
> 
> 
> Quoth Ken Bradford (Wed 2004-05-26 05:14:26PM -0400):
> >
> > Now I've got a couple of options to play with.
> 
> And here is one more:
> 
> <VirtualHost *:80>
>   ServerName mail.jmglov.net
>   DocumentRoot /data/httpd/htdocs/squirrelmail
>   <IfModule mod_rewrite.c>
>     RewriteEngine On
>     RewriteOptions inherit
>     RewriteRule ^(.*)$ https://mail.jmglov.net$1 [R,L]
>   </IfModule>
> </VirtualHost>
> 
> Cheers,
> Josh
> 
Thanks, Josh. BTW, what is the significance of "[R,L]"?

Ken Bradford
Alpha II Service, Inc. 




More information about the colug mailing list