Skip to Content.
Sympa Menu

en - [sympa-users] Trouble in "How to create a virtual robot"

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Marco Trotta <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] Trouble in "How to create a virtual robot"
  • Date: Fri, 29 Oct 2004 18:17:17 +0200

Hi, i'm trying to resolve this trouble. I'd like to create two or more
virtual robot on my server

My configuration is:
- sympa 4.1
- Apache/2.0.50 (Fedora)

There are two domain that point to my server
- liste.domain1.org
- liste.domain2.org


1) /etc/aliases is configured ok
2) in /etc/sympa.conf

## Main robot hostname
domain liste.domain2.org


3) /home/sympa/etc/liste.domain1.org cointains robot.conf configured in
this way


## This is a sample config file for a Virtual Robot in Sympa

## This hostname will be compared with 'SERVER_NAME' ENV var in wwsympa.fcgi
## To deduce which Virtual Robot is being queried
http_host liste.domain1.org
wwsympa_url liste.domain1.org/wws

## The hostname used by Sympa when sending emails
host liste.domain1.org

## Listmasters email addresses
listmaster address@concealed

## Title for the ML service
## It is displayed as a title in the web interface
title Domain1

create_list listmaster

## The default action when entering the web interface
## Can be 'lists', 'home' or 'which'
default_home lists

## You can define custom colors for the Virtual Robot's
## Web interface
dark_color #00aa00
light_color #ddffdd
selected_color #0099cc



4) i've configured /etc/httpd/conf/httpd.conf in this way


<Directory "/home/sympa/bin">
AllowOverride All
Options +ExecCgi Includes Indexes
Order allow,deny
Allow from all
</Directory>

<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fastcgi
FastCgiServer "/home/sympa/bin/wwsympa.fcgi" -processes 3 -idle-timeout
120
</IfModule>


[...]


<VirtualHost [IP]>
ServerAdmin root
DocumentRoot /var/www/liste.domain1.org
ServerName liste.domain1.org
ErrorLog logs/liste.domain1.org-error_log
CustomLog logs/liste.domain1.org-access_log common
ScriptAlias /wws /home/sympa/bin/wwsympa.fcgi
<Directory /var/www/liste.domain1.org>
Options FollowSymLinks
php_admin_value open_basedir /var/www/liste.domain1.org
</Directory>
<Location /wws>
SetHandler fastcgi-script
</Location>
</VirtualHost>

<VirtualHost [IP]>
ServerAdmin root
DocumentRoot /var/www/liste.domain2.org
ServerName liste.domain2.org
ErrorLog logs/liste.domain2.org-error_log
CustomLog logs/liste.domain2.org-access_log common
<Directory /var/www/liste.domain2.org>
Options FollowSymLinks
php_admin_value open_basedir /var/www/liste.domain2.org
</Directory>
<Location /wws>
SetHandler fastcgi-script
</Location>
ScriptAlias /wws /home/sympa/bin/wwsympa.fcgi
</VirtualHost>



Now, when i'm browsing liste.domain2.org i see all domain2.org's lists.
When i'm browsing liste.domain1.org i see the same lists of domain2.org
Where is the trouble?

Thanks you. MT


  • [sympa-users] Trouble in "How to create a virtual robot", Marco Trotta, 10/29/2004

Archive powered by MHonArc 2.6.19+.

Top of Page