[Pkg-mailman-hackers] Bug#351431: mailman: patch that adds support
for virtual host based DEFAULT_SERVER_NAME
ale
alessandro at it.gnu.org
Sat Feb 4 20:47:31 UTC 2006
Package: mailman
Severity: wishlist
s patch lets you have a different DEFAULT_SERVER_NAME for defined
virtual hosts. Useful because initial pages always refers to site
DEFAULT_SERVER_NAME, even if lists are in an other language.
A patch that adds a configuration variable to support this is included.
The patch is made with dpatch. This is an usage example:
# Required when setting any of its arguments.
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
add_virtualhost('it.gnu.org', 'it.gnu.org')
#-------------------------------------------------------------
# The default language for this server.
DEFAULT_SERVER_LANGUAGE = 'es'
VIRTUAL_HOSTS_LANGUAGE['it.gnu.org']='it'
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (899, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=it_IT at euro, LC_CTYPE=it_IT at euro (charmap=ISO-8859-15)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 79_initial_pages_virtual_host_localization.dpatch
Type: application/x-shellscript
Size: 3112 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-mailman-hackers/attachments/20060204/42c2a5ba/79_initial_pages_virtual_host_localization.bin
More information about the Pkg-mailman-hackers
mailing list