Skip to Content.
Sympa Menu

en - Re: [en@sympa] [External] Re: Beginner's Help

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Phil Stracchino <address@concealed>
  • To: address@concealed
  • Subject: Re: [en@sympa] [External] Re: Beginner's Help
  • Date: Fri, 26 May 2023 14:52:05 -0400

On 5/26/23 14:06, VTR wrote:
I installed sympa-httpd and set up as a single domain setting.

I did not install FastCGI because I’m not sure if I need to (based on my earlier post).

But I am running into these errors:

[Fri May 26 17:58:41.821055 2023] [authz_core:error] [pid 9710] [client x.x.x.x] AH01630: client denied by server configuration: /var/www/html/sympa
[Fri May 26 17:58:57.231110 2023] [autoindex:error] [pid 9702] [client x.x.x.x] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive

I checked the path for /var/www/html/sympa, and it doesn’t exist.

Seems like my Apache httpd config is half-baked.

Suggestions?


Given that you are a self-admitted beginner, in your place I would not be trying to depart from established configurations. I have approaching 40 years of experience and I found that I could not make it work correctly WITHOUT a FastCGI tool (I actually chose spawn-fcgi over FastCGI because it worked better and was easier to get a working configuration).

These are the sections I found to work in Apache 2.4:

<IfDefine SYMPA>
ScriptAlias /sympa /usr/libexec/sympa/wwsympa.fcgi
Alias /static-sympa /var/spool/sympa/static_content

<Location /sympa>
SetHandler "proxy:unix:/var/run/sympa/wwsympa.socket|fcgi://"
Options +ExecCGI
Require all granted
</Location>

<Location /static-sympa>
Require all granted
</Location>
</IfDefine>


with the sympa URL set in /etc/sympa/sympa.conf as:

wwsympa_url https://www.caerllewys.net/sympa


and the following directives in /etc/conf.d/spawn-fcgi-sympa:

FCGI_SOCKET=/var/run/sympa/wwsympa.socket
FCGI_PROGRAM=/usr/libexec/sympa/wwsympa.fcgi
FCGI_CHILDREN=1
FCGI_USER=sympa
FCGI_GROUP=sympa
FCGI_EXTRA_OPTIONS='-s /var/run/sympa/wwsympa.socket -M 0600 -U apache'


Disclaimer: You are not running Gentoo Linux. THE LOCATIONS FOR SOME OF THESE CONFIGURATION ITEMS WILL PROBABLY VARY. Don't take them as gospel.



--
Phil Stracchino
Babylon Communications
address@concealed
address@concealed
Landline: +1.603.293.8485
Mobile: +1.603.998.6958




Archive powered by MHonArc 2.6.19+.

Top of Page