Re: [Mailman-Users] virtual hosts and https

2005-08-04 Thread DaffyDuke
Hi,


I have a similar problem with virtual domains on L'Autre Net. 
I tried the Mark and Dan tips in my mm_cfg.py , even restart, fix_url
and wipe list. (add_virtualhost, patterns etc ...)


Le lundi 01 août 2005 à 09:44 -0700, Mark Sapiro a écrit :
 Dan Collins wrote:

[EMAIL PROTECTED]:~$ lynx -source
http://daffyduke.lautre.net/cgi-bin/mailman/listinfo/ag-staff|grep
address\
 hraddressListe de diffusion a
href=http://daffyduke.lautre.net/cgi-bin/mailman/listinfo/ag-staff;Ag-staff/a
 gérée par a href=mailto:[EMAIL PROTECTED]daffyduke at lautre.net/abra 
href=http://daffyduke.lautre.net/cgi-bin/mailman/admin/ag-staff;Interface 
administrative de Ag-staff/a (autorisation requise)bra 
href=http://elsa.lautre.net/cgi-bin/mailman/listinfo;Panorama de toutes les 
listes sur daffyduke.lautre.net/ap
/address


My problem is that hostname is different between what is seen
(daffyduke.lautre.net) and the real url (elsa.lautre.net) .

It appears the line in the /var/lib/mailman/Mailman/Defaults.py is: 

%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Shall I modify anything there ?


My commands in console :

  379  ./withlist -l -r fix_url ag-staff --urlhost=daffyduke.lautre.net
  380  ./arch --wipe ag-staff
  381  ./config_list -o /tmp/ag-staff ag-staff

  385  grep host /tmp/ag-staff
and I effectively found 
host_name = 'daffyduke.lautre.net'



Strange :-(


However it seems that the global listing list in listinfo is buggy : 
I have no list when i try
http://techos.lautre.net/cgi-bin/mailman/listinfo/
and the shown hostname is elsa.lautre.net :-( But the host in config
file is right with techos.lautre.net .
Where is the parsed file with the cgi. listinfo.html in templates/lang,
Defaults.py in Handlers, anything else ?

I tried french or english templates , same problems. So, templates
should be rights.


Thanks for your help,

-- 

DaffyDuke/Home  [ jabber: [EMAIL PROTECTED] | iCQ: 7504537 ]
C.L.X. : http://clx.anet.fr/  |  L'Autre Net : http://lautre.net/
 La Passerelle : http://www.legrandmix.com/



signature.asc
Description: This is a digitally signed message part
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp

Re: [Mailman-Users] cgi add seems not to work any more

2005-07-21 Thread DaffyDuke
Hi Mark,

Le mercredi 20 juillet 2005 à 07:49 -0700, Mark Sapiro a écrit :


 There should be a stack trace immediately preceding this in the error
 log. Without that information, it is very difficult to know what's
 happening. If you have the stack trace, please provide it. If it isn't
 there, then there is some issue with the Debian package.

Yes ! my tail -f error was a mistake :-)
Just before, there were informations about missing templates.
I had to manually copy /usr/share/mailman/fr/*
to /var/lib/mailman/templates/fr/ . Then I could unshunt lots of mails
(about 20,000) but as there were lots of errors again, i purged qfiles
directory. 

Now, mailman is running without any error for about half an hour,
everything is working for us. We communicate to our members to close
this ticket.

I add Tollef Fog Heen [EMAIL PROTECTED], the maintainer of debian
backport which should not be usefull anymore with sarge release.



Thanks a lot,

PS : For Tollef, this thread is here :
http://www.mail-archive.com/mailman-users%40python.org/msg33464.html

-- 

DaffyDuke/Home  [ jabber: [EMAIL PROTECTED] | iCQ: 7504537 ]
C.L.X. : http://clx.anet.fr/  |  L'Autre Net : http://lautre.net/
 La Passerelle : http://www.legrandmix.com/



signature.asc
Description: This is a digitally signed message part
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp

[Mailman-Users] cgi add seems not to work any more

2005-07-20 Thread DaffyDuke

Hello, I'm sorry to try again here but my previous post has been moderated. 
Sorry for my poor English.


First, I am Olivier Duquesne, an adminsitrator of L'Autre Net web
hosting service. We are using mailman (2.1.5-5.backport) on Debian
Woody. I'm sorry to post here but I did not find any answer in the faq
neither at http://www.mail-archive.com/mailman-users@python.org/ .


As we encountered lots of problems with our loadbalanced architecture
and mailman, we have now a proxypass from emma to elsa. emma and elsa
are the pretty name of our servers :-)

Now, the last issue is very blocking, we can not add members from the
cgi manually.

Some tests with my account (it's general to the site server) : when adding from 

*
http://daffyduke.lautre.net/cgi-bin/mailman/admin/ag-staff/members/add?adminpw=XXsubscribees=daffyduke%40altern.org
 = OK

* ./add_members -r /tmp/daffy ag-staff = OK

* from http://daffyduke.lautre.net/cgi-bin/mailman/listinfo/ag-staff =
OK

* from
http://daffyduke.lautre.net/cgi-bin/mailman/admin/ag-staff/members/add
= KO

with this error from the user : 
Bug in Mailman version 2.1.5
We're sorry, we hit a bug!
Please inform the webmaster for this site of this problem. Printing of
traceback and other system information has been explicitly inhibited,
but the webmaster can find this information in the Mailman error logs.

Nota : subscribing email are going well to the subscriber, but he is not
a list member .

Here is our trackback : 


admin(21183): [- Python Information -]
admin(21183): sys.version =   2.2.1 (#1, Feb  3 2005, 06:16:31)
[GCC 2.95.4 20011002 (Debian prerelease)]
admin(21183): sys.executable  =   /usr/bin/python2.2
admin(21183): sys.prefix  =   /usr
admin(21183): sys.exec_prefix =   /usr
admin(21183): sys.path=   /usr
admin(21183): sys.platform=   linux2
admin(21183): [- Environment Variables -]
admin(21183):   HTTP_ACCEPT: text/xml,application/xml,application/xhtml
+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
admin(21183):   HTTP_X_FORWARDED_SERVER: emma.lautre.net

= emma is the http primary host , it ProxyPass to elsa.

admin(21183):   HTTP_REFERER:
http://daffyduke.lautre.net/cgi-bin/mailman/admin/ag-staff/members/add
admin(21183):   HTTP_ACCEPT_LANGUAGE:
fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
admin(21183):   PYTHONPATH: /var/lib/mailman
admin(21183):   SCRIPT_FILENAME: /var/alternc/cgi-bin/mailman/admin
admin(21183):   SERVER_ADMIN: [EMAIL PROTECTED]

= ok, elsa is working

admin(21183):   SCRIPT_NAME: /cgi-bin/mailman/admin
admin(21183):   SERVER_SIGNATURE:
admin(21183):   REQUEST_METHOD: POST
admin(21183):   HTTP_HOST: elsa.lautre.net
admin(21183):   PATH_INFO: /ag-staff/members/add
admin(21183):   SERVER_PROTOCOL: HTTP/1.1
admin(21183):   QUERY_STRING:
admin(21183):
PATH_TRANSLATED: /var/alternc/dns/l/elsa.lautre.net/ag-staff/members/add

= Ugh ? Is it used by the cgi, it can not exist !

admin(21183):   SERVER_SOFTWARE: Apache
admin(21183):   REQUEST_URI: /cgi-bin/mailman/admin/ag-staff/members/add
admin(21183):   CONTENT_LENGTH: 1037
admin(21183):   HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
admin(21183):   HTTP_USER_AGENT: Mozilla/5.0 (X11; U; Linux i686; fr;
rv:1.7.9) Gecko/20050716 Firefox/1.0.5 (Debian package 1.0.5-1)
admin(21183):   HTTP_CONNECTION: close
admin(21183):   HTTP_COOKIE: ag-staff
+admin=28020069cacadc427328006238336531333064363464356162646631306661613639346635386134356265343564316335
admin(21183):   SERVER_NAME: elsa.lautre.net
admin(21183):   REMOTE_ADDR: 80.67.160.69

= are this variables checked ? IP is emma, not elsa !

admin(21183):   HTTP_X_FORWARDED_FOR: 85.69.41.71

= my IP, for test

admin(21183):   REMOTE_PORT: 35489
admin(21183):   HTTP_X_FORWARDED_HOST: daffyduke.lautre.net
admin(21183):   SERVER_PORT: 80
admin(21183):   UNIQUE_ID: QtzYeVBDoEMAAFKDAIw
admin(21183):   CONTENT_TYPE: multipart/form-data;
boundary=---15738030772474278601055633327
admin(21183):   GATEWAY_INTERFACE: CGI/1.1
admin(21183):   REMOTE_HOST: emma.lautre.net
admin(21183):   HTTP_ACCEPT_ENCODING: gzip,deflate
admin(21183):   SERVER_ADDR: 80.67.160.67
admin(21183):   DOCUMENT_ROOT: /var/alternc/bureau



It's fun, but removal from the same interface is working.
No problem with configuration modification, archiving, or any.



-- 

DaffyDuke/Home  [ jabber: [EMAIL PROTECTED] | iCQ: 7504537 ]
C.L.X. : http://clx.anet.fr/  |  L'Autre Net : http://lautre.net/
 La Passerelle : http://www.legrandmix.com/



signature.asc
Description: This is a digitally signed message part
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http