Skip to Content.
Sympa Menu

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

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

List archive

Chronological Thread  
  • From: IKEDA Soji <address@concealed>
  • To: address@concealed
  • Subject: [packagers@sympa] Problems with HTTP server configuration
  • Date: Thu, 11 Jul 2024 08:22:45 +0900

Hi packagers,

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


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





Archive powered by MHonArc 2.6.19+.

Top of Page