Accéder au contenu.
Menu Sympa

fr - Re: [sympa-fr] Probleme virtual host et sympa

Objet : Pour les administrateurs de serveurs de listes utilisant le logiciel Sympa

Archives de la liste

Chronologique Discussions  
  • From: thierry roussel <adresse@cachée>
  • To: adresse@cachée
  • Subject: Re: [sympa-fr] Probleme virtual host et sympa
  • Date: Sun, 14 Mar 2021 18:54:13 +0100

Helo i have found :

Not 

<Location /sympa>

But 

<Location / >

Le 14 mars 2021 à 18:45, thierry roussel <adresse@cachée> a écrit :

Hello i have change for the wwsympa.service

Now I have the error in error_log when I go to sympa.mydomain.net as url

[Sun Mar 14 18:42:26.619327 2021] [php7:error] [pid 17000] [client 91.167.156.128:27703] script '/var/www/html/login.php' not found or unable to stat

Here is the vhost conf :


<VirtualHost *:80>
    ServerName sympa.mydomain.net

### Apache httpd 2.4 configuration for Sympa
##
## Note: As of 6.2.35-0.1.b.1, mod_proxy_fcgi was adopted instead of mod_fcgid.
## * You have to edit /etc/sysconfig/sympa as described in it.
## * Then, you have to run separate fastCGI services wwsympa and/or sympasoap:
##   systemctl start wwsympa
##   systemctl start sympasoap

## Definition of Sympa FastCGI server.
<IfModule mod_proxy_fcgi.c>
    # If you changed wwsympa_url in sympa.conf, change this path too.
    <Location /sympa>
        SetHandler "proxy:unix:/var/run/sympa/wwsympa.socket|fcgi://"
        # Don't forget to edit lines below!
        #Require local
        Require all granted
    </Location>

#    # You may uncomment following lines to enable SympaSOAP feature.
#    <Location /sympasoap>
#        SetHandler "proxy:unix:/var/run/sympa/sympasoap.socket|fcgi://"
#        # Don't forget to edit lines below!
#        Require local
#        #Require all granted
#    </Location>
</IfModule>

## Other static contents
<Location /static-sympa>
    Require all granted
</Location>
Alias /static-sympa/css /var/lib/sympa/css
Alias /static-sympa/pictures /var/lib/sympa/pictures
Alias /static-sympa /usr/share/sympa/static_content

## If your host is dedicated to Sympa:
#RewriteEngine on
#RewriteRule ^/?$ /sympa [R=301]
</virtualhost>





Archives gérées par MHonArc 2.6.19+.

Haut de le page