Subject: The mailing list for listmasters using Sympa
List archive
[sympa-users] Re: Re:Wwsympa problems on Debian etch
- From: Olivier Salaün - CRU <address@concealed>
- To: address@concealed
- Cc: address@concealed
- Subject: [sympa-users] Re: Re:Wwsympa problems on Debian etch
- Date: Fri, 25 May 2007 10:14:36 +0200
| address@concealed wrote: That's right, it was introduced in Sympa 5.3a.8Olivier, thanks for your prompt and accurate answer. Let's go step by step: 1. CSS Problem:you check the page sources, you'll see that the CSS URL is http:///css/style.css, which seems incorrect. This link is defined by the 'css_url' sympa.conf URL ; it might be incorrect. If css_url parameter is not defined, then the default value is based on the 'static_cintent_url' parameter : $static_content_url/css.I am a little confused here. I thought that static pages were introduced in Sympa 5.3, not in sympa 5.2.3. I don't remember what is your server URL, let's say it is http://lists.upc.es/sympaI checked for style.css files in my system and I found some, but none related to Sympa. So, what address should I provide in 'css_url' option?, and where do I got the files ? Then your sympa.conf should include : css_url /static_content/css First make sure that you have this directive set in your Apache config file : (check http://www.sympa.org/wiki/manual/web-interface#installing_wwsympa.fcgi_in_your_apache_server) Alias /static-sympa /home/sympa/static_content Sorry, I did a mistake in my previous email : $path_cgi is based on SCRIPT_NAME, not on PATH_INFO.2. Apache VARIABLES Does it mean that you don't get HTT_HOST and SCRIPT_NAME environment variables when using the wwsympa_sudo_wrapper.pl ?However, because wwsympa (the real one) must be run with "sympa.sympa" uid, I was using the "sudo" method. Now, if wwsympa is called through wwsympa_sudo_wrapper.pl, the received variables are as follows: HOME --> /var/www LOGNAME --> sympa SUDO_GID --> 33 PATH --> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin SUDO_USER --> www-data SHELL --> /bin/sh TERM --> unknown SUDO_COMMAND --> /usr/lib/cgi-bin/sympa/wwsympa.fcgi USER --> sympa SUDO_UID --> 33 I think that this is the expected behaviour. Does this mean that "sudo" cannot be used to run wwsympa.fcgi with sympa.sympa UID and another method must be tried ?. We don't get this behavior with sudo. Please provide more informations on your configuration : 
 | 
- 
            
            [sympa-users] Re:Wwsympa problems on Debian etch,
            priu, 05/24/2007
- [sympa-users] Re: Re:Wwsympa problems on Debian etch, Olivier Salaün - CRU, 05/25/2007
 
Archive powered by MHonArc 2.6.19+.
