Re: rewriting http --> https not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oh, you perhaps need to turn on mod_rewrite:

RewriteEngine on
...

Patrick

On 7/26/05, Matt Morgan <minxmertzmomo@xxxxxxxxx> wrote:
> On 7/26/05, patrick <gibblertron@xxxxxxxxx> wrote:
> > On 7/26/05, Nathan Grennan <fedora-list@xxxxxxxxxxxxx> 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?
>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux