rewriting http --> https not working

patrick gibblertron at gmail.com
Tue Jul 26 18:02:44 UTC 2005


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 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]
> 
>   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 at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>




More information about the fedora-list mailing list