Skip to Content.
Sympa Menu

en - Re: [sympa-users] virtual hosting - is it mandatory to have different vhosts for the web site?

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Dick Visser <address@concealed>
  • To: Etienne MELEARD <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] virtual hosting - is it mandatory to have different vhosts for the web site?
  • Date: Mon, 2 Dec 2013 15:29:19 +0100

Hi Ettienne

I'm still fiddling with the initial vhost setup, I can't get it to work...

Let me try to explain better.
First of all I'd like the web interface to be reachable on a single
FQDN, in our case lists.terena.org.

Now, given that the /sympa path is somehow mandatory (I won't fiddle
with that any more), the URL for the default web interface should be
https://lists.terena.org/sympa.

This is without configuring vhosts in Sympa, so the configuration is
done through sympa.conf, and in the list dir there are only lists.

However, I'd like to have a system that only has vhosts.

So, e-mail domains and URLs should behave like this:


terena.org -> https://lists.terena.org/sympa/terena.org
refeds.org -> https://lists.terena.org/sympa/refeds.org

I'm trying to set up vhosts with subdirectories named like the e-mail domain:

/etc/sympa/terena.org/robot.conf
/etc/sympa/refeds.org/robot.conf


The next question is what to configure in these robot.conf?
The file has this comment:

## This hostname will be compared with 'SERVER_NAME' ENV var in wwsympa.fcgi
## To deduce which Virtual Robot is being queried
host
http_host

Which leads me to believe that there is indeed a coupling between the
web site vhost name, and the e-mail domain... which is not what I
want.

I configured dummy values for 'host' and 'http_host' in sympa.conf,
and put this in /etc/sympa/refeds.org/robot.conf:

host lists.terena.org
http_host lists.terena.org/sympa/refeds.org/sympa

And this in /etc/sympa/terena.name/robot.conf:

host lists.terena.org
http_host lists.terena.org/sympa/terena.name/sympa


This looks like it's going to clash because both file have the same
value for 'host'.


Still pretty confused...

On 20 November 2013 16:58, Etienne MELEARD <address@concealed> wrote:
> Hi,
>
> You can do it !
>
> All you have to do is to use lists.terena.org/terena.org and
> lists.terena.org/refeds.org as http_host parameters in your robot.conf
> files.
>
> Regrads,
>
> Etienne
>
>
> Le 20/11/13 16:49, Dick Visser a écrit :
>
>> Hi guys
>>
>>
>> I'm trying to set up vhosting for sympa.
>>
>> I'd like to be able to run Sympa lists for a number of domains.
>> >From the docs at http://www.sympa.org/manual_6.2/virtual-hosts it
>> looks like every mail domain needs a different HTTP vhost as well,
>> which is not very convenient. Especially when hosting lots of domains,
>> if you name the vhosts inside that domain, then we'd have to renew the
>> HTTPS certificate every time.
>> I'd like to web interface to be reachable at one hostname, and manage
>> the different domains through different paths.
>> My previous question about running the web interface on the root URL
>> was answered with "no can't do", but I think I should be able to put
>> that restriction to use.
>> For instance I'd like the sympa web interface for terena.org to be
>> reachable at https://lists.terena.org/terena.org/
>> And for another domain the lists could be managed at
>> https://lists.terena.org/refeds.org/
>>
>> Before I go do the usual trial&error, would this be possible at all?
>>
>> Many thanks!!
>>
>>
>



--
Dick Visser
System & Networking Engineer
TERENA Secretariat
Singel 468 D, 1017 AW Amsterdam
The Netherlands




Archive powered by MHonArc 2.6.19+.

Top of Page