[Mailman-Developers] admindb.py question ( or a bug/faillure ?)

Danny Terweij danny@terweij.nl
Mon, 13 May 2002 19:48:28 +0200


Hi,

I changed Defaults.py :

DEFAULT_EMAIL_HOST = 'lnx.poema.yi.org'
DEFAULT_URL_HOST = 'poema.yi.org:81'
DEFAULT_URL_PATTERN = 'http://%s:81/mailman/'
DEFAULT_HOST_NAME = 'poema.yi.org'
DEFAULT_URL       = 'http://poema.yi.org:81/mailman/'

Then mailmanctl restart

Then i checked the site :

http://poema.yi.org:81/mailman/admindb/poema-test

Logged in and looked at the source code of the webpage :
<FORM action="http://lnx.poema.yi.org/mailman/admindb/poema-test" method="POST" >
Where does this lnx.poema.yi.org is comming from?

I did looked at admindb.py :

Line number 172
admindburl = mlist.GetScriptURL('admindb', absolute=1)

Where is it getting the url from? Not from the default settings at Defaults.py (see above).

Can any one tell me what the admindburl is holding for variable?
Can i change it to :
admindburl = 'http://poema.yi.org:81/mailman/' ( depends what the variable is..) 

Danny Terweij.

 






Groetjes Danny Terweij