rewriting http --> https not working

patrick gibblertron at gmail.com
Tue Jul 26 20:53:07 UTC 2005


Oh, you perhaps need to turn on mod_rewrite:

RewriteEngine on
...

Patrick

On 7/26/05, Matt Morgan <minxmertzmomo at gmail.com> wrote:
> On 7/26/05, patrick <gibblertron at gmail.com> wrote:
> > On 7/26/05, Nathan Grennan <fedora-list at cygnusx-1.org> wrote:
> > > On Tue, 2005-07-26 at 13:26 -0400, Matt Morgan wrote:
> > >
> > > > RewriteRule ^/webmail/(.*) https://%{SERVER_NAME}/webmail/$1 [R,L]
> > > > RewriteRule ^/mailman/(.*) https://%{SERVER_NAME}/mailman/$1 [R,L]
> > >
> > You just need to get rid of the leading slash in your patterns:
> >
> > RewriteRule ^webmail/(.*) https://%{SERVER_NAME}/webmail/$1 [R,L]
> > RewriteRule ^mailman/(.*) https://%{SERVER_NAME}/mailman/$1 [R,L]
> >
> > Patrick
> 
> Didn't help!
> 
> All I have to do is edit the file and restart apache, correct?
>




More information about the fedora-list mailing list