Accéder au contenu.
Menu Sympa

fr - Re: [sympa-fr] [sympa-users] "Two virtual hosts are mapped via a single URL"

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

Archives de la liste

Chronologique Discussions  
  • From: Guillaume Tournat <adresse@cachée>
  • To: "adresse@cachée" <adresse@cachée>
  • Subject: Re: [sympa-fr] [sympa-users] "Two virtual hosts are mapped via a single URL"
  • Date: Wed, 29 Jul 2015 14:50:44 +0200

Bad idea. One virtual host in Apache per Sympa virtual domain. 



Le 29 juil. 2015 à 13:48, Arthmaël PK (via sympa-fr Mailing List) <adresse@cachée> a écrit :

Hello everybody

I am having trouble with my virtual domain configuration.

I want to bind the web interfaces of my two sympa virtual domains on a single apache virtual host (as hinted in the documentation)

For example, to access WWSympa of domain1, I would use the URL myvirtualhost/domain1. For domain2, it would be myvirtualhost/domain1, etc.

However, when restarting Sympa, the following error appear:  Conf::_check_double_url_usage#2347 Two virtual hosts (domain1 and domain2) are mapped via a single URL. Then none my domains are recognised on WWSympa

Here are the robot.conf files:

http_host       myvirtualhost/domainX
host            domainX
title           domain X mailing list
wwsympa_url     http://myvirtualhost/domainX

and the myvirtualhost.conf file:

ScriptAlias /domain1 /home/sympa/bin/wwsympa-wrapper.fcgi
ScriptAlias /domain2 /home/sympa/bin/wwsympa-wrapper.fcgi

<VirtualHost *:80>
      ServerName    myvirtualhost
</VirtualHost>


Any ideas?

Regards

Arthmaël Poly



Archives gérées par MHonArc 2.6.19+.

Haut de le page