[Mailman-Users] 403 Forbidden error accessing public archives

Ronald van Engelen ronalde at xs4all.nl
Thu Jun 12 12:09:24 CEST 2003


Thanks Richard for your useful info. I still however have the same
problem. See details below for the modifications I've tried.

Regards,
Ronald

Op do 12-06-2003, om 11:43 schreef Richard Barrett:
> At 01:19 12/06/2003, Ronald van Engelen wrote:
> >Hi,
> >
> >I'm getting the infamous 403 Access Forbidden error trying to access my
> >public archives.
> >
> >I've read the faq and the README files but can't find my error. I'm
> >using  mailman 2.1.2-1 from Debian unstable with apache 1.3.27.0-1.
> >
> >In mm_cfg.py I have:
> >
> >PRIVATE_ARCHIVE_URL = '/mailman/private'
> >PUBLIC_ARCHIVE_URL = '/pipermail'
> 
> There were some changes in the URL handling between MM 2.0.x and 2.1.x
> 
> It looks as though you are using the old style which may be causing you 
> problems.
> 
> In MM 2.1.2 PUBLIC_ARCHIVE_URL is a full URL pattern. Installing from 
> source Defaults.py has the following definitions:
> 
> PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/pipermail/%(listname)s'

I replaced my orginal PUBLIC_ARCHIVE_URL with the one above in mm_cfg.py

> 
> MM 2.1.2's Defaults.py no longer defines PRIVATE_ARCHIVE_URL but is does 
> say the following:
> 
> <quote>
> DEFAULT_EMAIL_HOST = 'mailman.ftel.co.uk'
> DEFAULT_URL_HOST = 'mailman.ftel.co.uk'
> DEFAULT_URL_PATTERN = 'http://%s/mailman/'
> 
> # DEFAULT_HOST_NAME has been replaced with DEFAULT_EMAIL_HOST, however some
> # sites may have the former in their mm_cfg.py files.  If so, we'll believe
> # that, otherwise we'll believe DEFAULT_EMAIL_HOST.  Same for DEFAULT_URL.
> DEFAULT_HOST_NAME = None
> DEFAULT_URL = None
> </quote>

I replaced my orginal lines with the ones above (commenting out
DEFAULT_URL) and filling my sites parameters.

> 
> Probably worth taking a closer look at Defaults.py and then updating your 
> mm_cfg.py to take account of changes between MM 2.0.x and MM 2.1.x
> 
> Then repost if you still have a problem.

After making the changes above and restarting the apache and mailman
daemons, I still have the same problem.

> >My relevant section in http.conf reads:
> >
> >Alias /pipermail/ /var/lib/mailman/archives/public/
> ><Directory /var/lib/mailman/archives/public>
> >   Options FollowSymLinks
> >   Order allow,deny
> >   Allow from all
> ></Directory>
> >
> >The directories in /var/lib/mailman/archives/public/ are default
> >symlinks to /var/lib/mailman/archives/private/
> >
> >The permissions on the archive-directories in the latter are:
> >drwxrwsr-x    5 www-data list
> >
> >On the index.html file:
> >-rw-rw-rw-    1 www-data list
> >
> >I hope anybody can help.
> >
> >Thanks,
> >Ronald
> >
> >
> >
> >------------------------------------------------------
> >Mailman-Users mailing list
> >Mailman-Users at 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/
> >
> >This message was sent to: r.barrett at openinfo.co.uk
> >Unsubscribe or change your options at
> >http://mail.python.org/mailman/options/mailman-users/r.barrett%40openinfo.co.uk
> 
> ------------------------------------------------------------------------------
> Richard Barrett                                      http://www.openinfo.co.uk
> 
> 





More information about the Mailman-Users mailing list