[Mailman-Users] Enabling SSL

Mark Sapiro mark at msapiro.net
Sat Dec 13 00:54:11 CET 2008


Rich Winkel wrote:

>On Fri, Dec 12, 2008 at 01:24:44PM -0800, Mark Sapiro wrote:
>> Rich Winkel wrote:
>> >Does anyone have a recipe for redirecting http: connections to https?
>> 
>> If you're talking about for Mailman, see the FAQ at
>> <http://wiki.list.org/x/7oA9>.
>
>Yes, thanks, that's part of what I was looking for.  Unfortunately
>this page doesn't address the apache rewrite issue, but here's
>something that works for me with apache 2.2.  Edit httpd.conf and:
>
><Directory "/usr/local/mailman">
>    RewriteEngine on
>    Options FollowSymLinks ExecCGI
>    AllowOverride None
>    Order allow,deny
>    Allow from 128.206.184.195
>    RewriteCond %{SERVER_PORT} !^443$
>    RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
></Directory>


I added a Mailman specific example to the FAQ

RewriteEngine on
RewriteCond %{HTTPS}       off [NC]
RewriteRule ^/mailman(/.*) https://%{HTTP_HOST}/mailman$1
[L,R=permanent]

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list