Re: rewriting http --> https not working

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

 



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

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]
> 
>   I have never had good luck with mod_rewrite. I know there is a plugin
> for squirrelmail to do the switch over to https from http. As for
> mailman, I think it has an option built-in to it.
> 
> 
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>


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

  Powered by Linux