[Mailman-Users] mailman force all httpd ssl

Mark Sapiro mark at msapiro.net
Sun Jul 22 20:33:43 CEST 2012


On 7/21/2012 7:46 PM, ml wrote:

>> I am obliged to write a config like this
>>
>>
>> RewriteEngine On
>> Options +FollowSymlinks
>> RewriteCond %{HTTPS}        off [NC]
>> RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=permanent]
>> RedirectMatch  ^/mailman[/]*$  https://lists.fakessh.eu/mailman/listinfo
>>
>> RewriteRule ^/mailman(/.*)  https://%{HTTP_HOST}/mailman$1
>> [L,R=permanent]
>>
>>
>>
>> same issue as provided
>> only http://lists.fakessh.eu/mailman/
>> correctly only with ssl redirect
> 
> 
> 
> despite my efforts during these past few days I do not manage to do what
> I want
> 
> only http://lists.fakessh.eu/mailman/ correctly redirect



So it appears that your RedirectMatch works, but your RewriteRule
directives do not. I don't offhand know why. This is an Apache question,
not a Mailman question. See <http://httpd.apache.org/docs/2.X/rewrite/>
where X is 0, 2 or 4 depending on your Apache version, and/or see
<http://httpd.apache.org/userslist.html>.

-- 
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