Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web interface is not working #1879

Open
malathi339 opened this issue Aug 19, 2024 · 1 comment
Open

Web interface is not working #1879

malathi339 opened this issue Aug 19, 2024 · 1 comment
Labels

Comments

@malathi339
Copy link

I am newbie to installing sympa, since two weeks I am struggling to get my sympa up
Version

6.2.66

Installation method

apt install sympa

Expected behavior

404 error

Actual behavior

web interface is not working

wwsympa.service

[Unit]
Description=Sympa Web Interface FastCGI backend
After=sympa.service
Requires=wwsympa.socket

[Service]
User=sympa
Group=sympa
ExecStart=/usr/bin/multiwatch -f $WWS_FCGI_CHILDREN
-- /usr/lib/cgi-bin/sympa/wwsympa.fcgi
StandardOutput=null
StandardInput=socket
StandardError=null

Environment="WWS_FCGI_CHILDREN=5"
EnvironmentFile=-/etc/default/sympa

Restart=always
RestartSec=5

FCGI_PID_DIR=/run/sympa
FCGI_OPTS='-s /run/sympa/wwsympa.socket -M 0600 -U www-data'

#Envionnment="FCGI_OPTS=-M 0600 -U www-data"

[Install]
Also=wwsympa.socket
WantedBy=multi-user.target

wwsympa.socket
[Unit]
Description=Sympa Web Interface Socket

[Socket]
SocketUser=www-data
SocketGroup=www-data
SocketMode=0660

ListenStream=/run/sympa/wwsympa.socket

[Install]
WantedBy=sockets.target

Apache Configuration

cat /etc/apache2/conf-available/sympa.conf

Apache >> 2.4 configuration for Sympa

Alias /static-sympa /usr/share/sympa/static_content Require all granted
Alias /css-sympa /var/lib/sympa/css
<Directory /var/lib/sympa/css>
    Require all granted
</Directory>

Alias /pictures-sympa /var/lib/sympa/pictures
<Directory /var/lib/sympa/pictures>
    Require all granted
</Directory>

<Location /wws>
   SetHandler "proxy:unix:/run/sympa/wwsympa.socket|fcgi://localhost"
     Options +ExecCGI
   Require all granted
</Location>
@ikedas
Copy link
Member

ikedas commented Aug 23, 2024

Hi @malathi339 ,
Please describe in detail what you did from the time you finished the installation until you got the result you unexpected, e.g. "I launched XXXX, clicked XXXX button, entered a text 'XXXX' into XXXX, ..." ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants