Skip to Content.
Sympa Menu

en - Re: [sympa-users] Sympa's fcgi with ssl/https over apache on CentOS7

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Peter Schober <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Sympa's fcgi with ssl/https over apache on CentOS7
  • Date: Mon, 3 Feb 2020 20:48:27 +0100

* pj.wagner <address@concealed> [2020-02-03 19:10]:
> got my issues letting Apache redirect HTTP to HTTPS.

Have you considered offering *only* HTTPS?

At least for my purposes noone would need to enter the complete URL to
Sympa's web interface into a web browser (probably without also typing
"https://"; at the start and thereby ending up on the plain HTTP port,
as long as webbrowsers don't try HTTPS first) -- instead they would
only follow links from elsewhere.
So there'd be no reason to even listen on plain HTTP.

> Whatever I try I get either a syntax error or I brake the
> /etc/httpd/conf.d/sympa.conf in an other way.

Well, error messages are there to also inform you of the kind of
error that happened, not just of the fact that any (unspecified) error
has occured.
Did you try searching for the exact error message on the web?
Did you try 'apachectl -t' (or 'apache2ctl -t') to test your config?

> A config example would be now much appriciated.

I'd start with from the documentation of the software involved:
http://httpd.apache.org/docs/2.4/en/mod/mod_alias.html#redirect

But of course that depends on how the rest of your server config looks
like, esp. wrt plain HTTP vs. HTTPS vhosts.

HTH,
-peter



Archive powered by MHonArc 2.6.19+.

Top of Page