Skip to Content.
Sympa Menu

en - Re: [sympa-users] help needed; new sympa install, apache2.4 problems

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Stefan Hornburg (Racke)" <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] help needed; new sympa install, apache2.4 problems
  • Date: Thu, 14 May 2020 20:51:00 +0200

On 5/14/20 8:23 PM, William F. Dudley Jr. wrote:
> Hi,
>
> As mailman2 is nearing EOL (as Python 2 is EOL 20201231), I am looking to
> move to Sympa. Yesterday I installed sympa 6.2.54 on my FreeBSD 11.3
> machine. All went well until "Configure HTTP Server". I have
> Apache 2.4.43 installed. I followed the instructions here:
>
> https://sympa-community.github.io/manual/install/configure-http-server-apache.html
>
> However, this bit:
>
> <Location />
> # SetHandler "proxy:unix:/var/run/wwsympa.socket|fcgi://"
> require all granted
> </Location>
>
> causes problems. If I uncomment the SetHandler line, then all the virtual
> hosts that my Apache24 installation servers begin serving the Sympa page.

I would move the Location directives inside the VirtualHost. That should do
the trick.

Regards
Racke

>
> I created a new subdomain just for my sympa web page: sympa.dudley.nu
> Each subdomain has a .conf file in /usr/local/etc/apache24/sites-available,
> with symbolic links to them from /usr/local/etc/apache24/sites-enabled,
> which I believe is standard practice.
>
> Below find the sympa.dudley.nu.conf file:
>
> <VirtualHost *:80>
> ServerName sympa.dudley.nu
> ServerAdmin address@concealed
> DocumentRoot /usr/local/www/sympa/docs
> Header set Content-Security-Policy "default-src 'self'; script-src
> 'self' 'u
> nsafe-inline' pagead2.googlesyndication.com www.google-analytics.com
> *.cloudflar
> e.com; img-src 'self'"
> Header set X-Frame-Options SAMEORIGIN
> Header set X-XSS-Protection "1; mode=block"
> Header set X-Content-Type-Options nosniff
> ErrorLog /var/log/sympa.dudley.nu-error_log
> CustomLog /var/log/sympa.dudley.nu-access_log common
> </VirtualHost>
>
> <Location />
> # SetHandler "proxy:unix:/var/run/wwsympa.socket|fcgi://"
> require all granted
> </Location>
>
> <Location /static-sympa>
> require all granted
> </Location>
>
> Alias /static-sympa /usr/local/share/sympa/static
> -------------------end sympa.dudley.nu.conf ---------------------
> Questions:
>
> Why does enabling that SetHandler cause all my virtual domains to be
> served the sympa page?
>
> What should I be doing differently?
>
> Other than this, sympa is installed, and is capable of responding
> to the emailed "help" request.
>
> Thanks, in advance,
> Bill Dudley
>
>


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.19+.

Top of Page