Skip to Content.
Sympa Menu

en - Re: [sympa-users] wwsympa with an url prefix

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Daniel Caillibaud <address@concealed>
  • To: address@concealed
  • Cc: "Stefan Hornburg (Racke)" <address@concealed>
  • Subject: Re: [sympa-users] wwsympa with an url prefix
  • Date: Thu, 26 Jul 2012 23:57:15 +0200

Le 26/07/12 à 22:20, "Stefan Hornburg (Racke)" <address@concealed> a écrit :

>> Is it possible to use wwsympa (6.1) under a prefix like
>> http://domain.tld/prefix/sympa ?

> What about wwsympa_url?

With my conf it doesn't care

nginx side :
location /wws {
fastcgi_pass unix:/var/run/sympa/wwsympa-fcgi.sock;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param PATH_INFO $fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param SERVER_NAME $server_name;
fastcgi_param SSL_PROTOCOL $ssl_protocol;
fastcgi_param HTTPS on;
}

sympa.conf :
http_host https://mail.sesamath.net
wwsympa_url https://mail.sesamath.net/wws

Then, https://mail.sesamath.net/wws show the right page but all links point
to webroot like
https://mail.sesamath.net/lists instead of the
https://mail.sesamath.net/wws/lists I expected

My pb sounds like
http://www.sympa.org/faq/web_interface#my_base_url_is_not_correct but I
doesn't use sudo, I create the socket with

spawn-fcgi -s /var/run/sympa/wwsympa-fcgi.sock -U www-data -u sympa -g sympa \
/usr/lib/cgi-bin/sympa/wwsympa.fcgi -P /var/run/sympa/wwsympa-fcgi.pid

What is this base url variable that is expected by the cgi in its env ?

--
Daniel

En mathématiques, on ne comprend pas les choses, on s'y habitue.
John Von Neumann




Archive powered by MHonArc 2.6.19+.

Top of Page