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 <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy: http://wiki.list.org/x/QIA9