On Thu, Apr 26, 2012 at 7:31 PM, Mark Sapiro <m...@msapiro.net> wrote:

>
> >
> > Is there anything else I need to change?
>
>
> Yes. You Probably have in the apache config
>
> ScriptAlias /mailman/ "/usr/local/cpanel/3rdparty/mailman/cgi-bin/"
>
> You could change that to
>
> ScriptAlias / "/usr/local/cpanel/3rdparty/mailman/cgi-bin/"
>

I made the following changes in /usr/local/cpanel/APACHE_CONFIG:

#ScriptAlias /mailman /usr/local/cpanel/3rdparty/mailman/cgi-bin/
ScriptAlias / /usr/local/cpanel/3rdparty/mailman/cgi-bin/
ScriptAlias /admin /usr/local/cpanel/3rdparty/mailman/cgi-bin/admin
ScriptAlias /confirm /usr/local/cpanel/3rdparty/mailman/cgi-bin/confirm
ScriptAlias /edithtml /usr/local/cpanel/3rdparty/mailman/cgi-bin/edithtml
ScriptAlias /listinfo /usr/local/cpanel/3rdparty/mailman/cgi-bin/listinfo
ScriptAlias /options /usr/local/cpanel/3rdparty/mailman/cgi-bin/options
ScriptAlias /rmlist /usr/local/cpanel/3rdparty/mailman/cgi-bin/rmlist
ScriptAlias /subscribe /usr/local/cpanel/3rdparty/mailman/cgi-bin/subscribe
ScriptAlias /admindb /usr/local/cpanel/3rdparty/mailman/cgi-bin/admindb
ScriptAlias /create /usr/local/cpanel/3rdparty/mailman/cgi-bin/create
ScriptAlias /private /usr/local/cpanel/3rdparty/mailman/cgi-bin/private
ScriptAlias /roster /usr/local/cpanel/3rdparty/mailman/cgi-bin/roster
*REMOVE* ScriptAlias / /usr/local/cpanel/3rdparty/mailman/cgi-bin/

I did not know what to do with these lines so I left them alone:

Alias /mailman/archives /usr/local/cpanel/3rdparty/mailman/archives/public/
*REMOVE* Alias /mailman/archives/
/usr/local/cpanel/3rdparty/mailman/archives/public/
Alias /pipermail /usr/local/cpanel/3rdparty/mailman/archives/public/
*REMOVE* Alias /pipermail/
/usr/local/cpanel/3rdparty/mailman/archives/public/

I restarted apache:
/usr/local/apache/bin/apachectl restart

I collected all my changes in
/usr/local/cpanel/3rdparty/mailman/Mailman/mm_cfg.py as shown below:

from Defaults import *
OWNERS_CAN_ENABLE_PERSONALIZATION=1
VERP_PERSONALIZED_DELIVERIES=1
DEFAULT_EMAIL_HOST = 'subdomain.example.com'
DEFAULT_URL_HOST = 'subdomain.example.com'
DEFAULT_URL_PATTERN = 'http://%s/'

I restarted mailman: /usr/local/cpanel/3rdparty/mailman/bin/mailmanctl
restart

...and there was no change in behavior. It's like I didn't make any changes.

so I reviewed the FAQs (including
http://wiki.list.org/pages/viewpage.action?pageId=4030616)

I also did:
$ ./bin/rmlist -a cleanurl
$ ./bin/newlist --urlhost=subdomain.example.com cleanurl

I still get a 404 on subdomain.example.com/admin/cleanurl

As before, the URL subdomain.example.com/mailman/admin/cleanurl still works.

Apparently, I have missed some settings or not restarted a service that
should be restarted. To check, I did :
/usr/local/apache/bin/apachectl stop
/usr/local/apache/bin/apachectl start

It made no difference.

Thanks so much for your help!
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to