Skip to Content.
Sympa Menu

en - Re: [sympa-users] using https

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] using https
  • Date: Thu, 8 Oct 2015 15:54:14 +0200

Hi,

Warren is right: Sympa is just a receptor. It dosn't care which port you use. Apache does all the work.

This configuration redirects anything from 80 to 443. Note that this is a "Sympa only" configuration, i.e. for a server that only runs Sympa. Is you have other rules, there could be some concurrency between rules involved.

Try it and tell us if it works.

RewriteEngine On
RewriteCond %{REQUEST_URI} !^/static-sympa
RewriteCond %{HTTPS} !=on [NC]
RewriteRule ^(.*) https://%{SERVER_NAME}$1 [QSA,R=301,L]

RewriteRule ^/?$ https://%{SERVER_NAME}/sympa [QSA,R=301,L]

Alias /static-sympa /usr/local/sympa/static_content

Regards,

David

Le 05/10/2015 21:37, John Sweeney a écrit :
address@concealed">
My firewall is closed on 80 so no requests come to apache from there to
be redirected to 443. I can't see where to change my apache either. I
found settings in wwsympa.fcgi and wwslib.pm that refer to ENV('HTTPS')
so I have hit that to ensure the base_url always go to 'https://%s...
etc. THAT works. I don't know where sympa is getting that variable from
and there is no explanation in sympa documentation about it.
Cheers, and thanks for answering.
John

On 06/10/15 02:35, Warren G Anderson wrote:
The reason you cant find anything in the sympa docs is because this isn’t a sympa configuration issue, it’s your httpd configuration (apache, or whatever you are using as an webserver). You can put whatever security requirements you want on the sympa directories or locations (urls) in your httpd configs. You can also use modrewrite or similar to redirect all insecure connections to the server to the secure ports, if you want.


On Oct 3, 2015, at 06:19 , <address@concealed> <address@concealed> wrote:

I only want users to access my web site on 443, https. Sympa keeps redirecting
to http!!!!!
I can't find anything in the documentation to solve the problem.


    

--
A bug in Sympa? Quick! To the bug tracker!

 
David Verdin
Études et projets applicatifs
 
Tél : +33 2 23 23 69 71
Fax : +33 2 23 23 71 21
 
www.renater.fr
RENATER
263 Avenue du Gal Leclerc
35042 Rennes Cedex



PNG image

Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.19+.

Top of Page