Skip to Content.
Sympa Menu

packagers - Re: [packagers@sympa] Problems with HTTP server configuration

Subject: List for people interesting in developping and using Sympa packages

List archive

Chronological Thread  
  • From: "Stefan Hornburg (Racke)" <address@concealed>
  • To: address@concealed
  • Subject: Re: [packagers@sympa] Problems with HTTP server configuration
  • Date: Mon, 15 Jul 2024 12:20:24 +0200

On 11/07/2024 01:22, IKEDA Soji wrote:
Hi packagers,

There are known problems with the HTTP server configuration described in
documentation
and shipped in some distributions so far.



Fixed in Debian package 6.2.72~dfsg-1.

Regards
Racke

## Apache HTTP Server

It has been reported that when configuring a FastCGI proxy, strict syntax
checks now
cause the web service to fail to start.
https://lists.sympa.community/msg/en/2024-07/gEBkopK6LrG5orgF9JhpoQ
This is due to a change in Apache HTTP Server 2.4.60, however it has been
backported in
some distributions.

The following no longer works:
```
<Location /sympa>.
SetHandler "proxy:unix:$PIDDIR/wwsympa.socket|fcgi://"
...
```
It should be done as following:
```
<Location /sympa>
SetHandler "proxy:unix:$PIDDIR/wwsympa.socket|fcgi://localhost"
...
```

The same is true for /sympasoap.

## nginx

To support multiple virtual hosts, you can set SERVER_NAME FastCGI variable
as follows.
Otherwise, only the first virtual host is always used.
```
server {
...
server_name vhost1, vhost2, ... ;

location /sympa {
include fastcgi_params;
fastcgi_param SERVER_NAME $host; # <- add this line here
fastcgi_pass unix:$PIDDIR/wwsympa.socket;
}
...
```
There is no harm in running only a single virtual host with this modification.

___

Documentation has already been updated:
https://www.sympa.community/manual/install/configure-http-server-proxy.html


Regards,
— ikedas




--
Automation expert - Ansible and friends
Linux administrator & Debian maintainer
Perl Dancer & conference hopper





Archive powered by MHonArc 2.6.19+.

Top of Page