Two versions on the same host
Hy Everyone,
Previosly I asked Barry, but he could not answer yet.
I have installed to my machine the latest version from the CVS beside to the perfectly working 2.0.5. I want to play with the newest version, but I do not want to bust up the working version. So I used the following options in the configure: ./configure --prefix=/home/mailman2 --with-username=mailman2 --with-groupname= mailman2 --with-cgi-gid=233 --with-mail-gid=12
In the Apache conf for the ScriptAlias I gave /mailman2 since /mailman is for the version 2.0.5. I changed the crontab to prevent 2 different versions running in the same time.
Mailman in the new directory working almost perfectly, but when I click to a link the url would be like this (eg. in the listinfo page): http://tatooin.sol.vein.hu/mailman/admin But it have to be like this for the proper working: http://tatooin.sol.vein.hu/mailman2/admin
So I could not play with the beta version. Any suggestion how can I solve this problem? (You can take a look at this problem in the above URLs, if our net is working. The bad weathers ruined our network early on this week.)
Bye,.
Szilard Vizi
mailto:vizisz@freemail.hu UIN:10676592
On Fri, Jun 22, 2001 at 12:42:29PM +0200, Vizi Szilard wrote:
Previosly I asked Barry, but he could not answer yet.
I have installed to my machine the latest version from the CVS beside to the perfectly working 2.0.5. I want to play with the newest version, but I do not want to bust up the working version. So I used the following options in the configure: ./configure --prefix=/home/mailman2 --with-username=mailman2 --with-groupname= mailman2 --with-cgi-gid=233 --with-mail-gid=12
In the Apache conf for the ScriptAlias I gave /mailman2 since /mailman is for the version 2.0.5. I changed the crontab to prevent 2 different versions running in the same time.
Mailman in the new directory working almost perfectly, but when I click to a link the url would be like this (eg. in the listinfo page): http://tatooin.sol.vein.hu/mailman/admin But it have to be like this for the proper working: http://tatooin.sol.vein.hu/mailman2/admin
So I could not play with the beta version. Any suggestion how can I solve this problem? (You can take a look at this problem in the above URLs, if our net is working. The bad weathers ruined our network early on this week.)
Try editing 'DEFAULT_URL' in Mailman/Defaults.py.
-- Thomas Wouters <thomas@xs4all.net>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
Thomas Wouters wrote:
On Fri, Jun 22, 2001 at 12:42:29PM +0200, Vizi Szilard wrote:
Mailman in the new directory working almost perfectly, but when I click to a link the url would be like this (eg. in the listinfo page): http://tatooin.sol.vein.hu/mailman/admin But it have to be like this for the proper working: http://tatooin.sol.vein.hu/mailman2/admin
Try editing 'DEFAULT_URL' in Mailman/Defaults.py. Nop, still does not work. Even with DEFAULT_URL='http://tatooin.sol.vein.hu/mailman2/' in mm_cfg.py
It is still searching my test list under http://tatooin.sol.vein.hu/mailman/listinfo/testing
The version is 2.1a2 bin/check_perms says no trouble
Szilard Vizi
mailto:vizisz@freemail.hu UIN:10676592
On Fri, Jun 22, 2001 at 01:45:35PM +0200, Vizi Szilard wrote:
Thomas Wouters wrote:
On Fri, Jun 22, 2001 at 12:42:29PM +0200, Vizi Szilard wrote:
Mailman in the new directory working almost perfectly, but when I click to a link the url would be like this (eg. in the listinfo page): http://tatooin.sol.vein.hu/mailman/admin But it have to be like this for the proper working: http://tatooin.sol.vein.hu/mailman2/admin
Try editing 'DEFAULT_URL' in Mailman/Defaults.py. Nop, still does not work. Even with DEFAULT_URL='http://tatooin.sol.vein.hu/mailman2/' in mm_cfg.py
It is still searching my test list under http://tatooin.sol.vein.hu/mailman/listinfo/testing
That should work. Have you tried looking for /mailman/ yourself ? How about looking at the script that generates those messages ? I don't have time to haunt it down myself right now, but if you want to run 2.1-CVS, you better get used to editing and fixing problems yourself, because the tree is pretty unstable, still ;)
-- Thomas Wouters <thomas@xs4all.net>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
"VS" == Vizi Szilard <vizisz@freemail.hu> writes:
VS> Mailman in the new directory working almost perfectly, but
VS> when I click to a link the url would be like this (eg. in the
VS> listinfo page): http://tatooin.sol.vein.hu/mailman/admin But
VS> it have to be like this for the proper working:
VS> http://tatooin.sol.vein.hu/mailman2/admin
"TW" == Thomas Wouters <thomas@xs4all.net> writes:
TW> Try editing 'DEFAULT_URL' in Mailman/Defaults.py.
Oh Thomas, you're so close you should be able to smell it! :)
Changing DEFAULT_URL in mm_cfg.py fixes the problem for any new lists you create, but won't fix it for lists you created before changing that variable. Once a list is created, that variable is stuffed into the MailList object's m.web_page_url attribute. (Note that m.host_name comes from DEFAULT_HOST_NAME which might also have to be changed.)
To fix this, run bin/withlist like so:
% python -i bin/withlist -l mylist Loading list mylist (locked)
m.web_page_url 'http://www.mysite.com/mailman/' m.web_page_url = 'http://www.mysite.com/mailman2/' m.Save() ^D Unlocking (but not saving) list: mylist Finalizing
Cheers, -Barry
participants (3)
-
barry@digicool.com
-
Thomas Wouters
-
Vizi Szilard