Where would I put the RewriteRule line?

Jason

On Wed, 2003-03-12 at 17:40, John Ziniti wrote:
> Use mod_rewrite and add a RewriteRule:
> 
> RewriteRule http://www.example.com/(.*) https://www.example.com/$1 [R]
> 
> mod_rewrite docuemtation is here:
> 
> http://httpd.apache.org/docs/mod/mod_rewrite.html
> 
> Jason Giangrande wrote:
> 
> >This really isn't a Gentoo question but I thought maybe someone could
> >help.  I'm trying to set up a certain website to use SSL and only SSL. 
> >What I want to do is, when someone types www.example.com, have them go
> >to https://www.example.com instead of http://www.example.com.  Does
> >anyone know how to set this up.  I'm using Apache with mod_ssl.
> >
> >Thanks,
> >Jason
> >
> >
> >--
> >[EMAIL PROTECTED] mailing list
> >
> >
> >
> >  
> >
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list

Reply via email to