Re: mailman web access to archives failure:
David Southwell wrote: [...] Hi David, This directory has a problem if mailman runs its scripts with uid/gid of www/www: drwxrws--- 10 mailman mailman 512 Dec 28 15:45 /usr/local/mailman/archives/private Other users (including www) are prevented from entering that directory. Have you tried running the check_perms scripts from the mailman package? That may help you determine where the problem is. More information can be found here, along with some specific info about the permissions for the private directory: http://bit.ly/7Ht0rS Hope that helps, Greg Yes I did run the perms script - but that was before I made the changes to httpd.conf . I have just rerun check_perms and all is now working!!! You guys have been brilliant - it looks as though the problem was a combination of errors in ownership of mailman/archives, plus mal-configured httpd.conf and my apache virtual configuration files. Once I got thtose soirted out as a result of all the advice I received, the problem has gone away. Many thanks David Beautiful - glad to hear it! Cheers, Greg Thanks Greg One thing I need to mention here.. when I reviewed the history of this the one thing that definitely contributed to the error roll was the instructions to add mailman aliases to /etc/aliases. I think this was where the slide into chaos began because I failed to realise that those instructions (which came from creating a mail list) should not have been heeded! When the aliases are put into /etc/aliases the owner:group combination causes a the perms failure. Not realising this was the root cause, I tried to correct the situation, but instead made it a lot worse!***!!! Here is one example of the auto generated message for the list: Mailing list creation request for list bps_comps_print_announce From: mailman-ow...@vizion2000.net To: mailman-ow...@vizion2000.net The mailing list `bps_comps_print_announce' has been created via the through- the-web interface. In order to complete the activation of this mailing list, the proper /etc/aliases (or equivalent) file must be updated. The program `newaliases' may also have to be run. Here are the entries for the /etc/aliases file: bps_comps_print_announce: |/usr/local/mailman/mail/mailman post bps_comps_print_announce bps_comps_print_announce-admin:|/usr/local/mailman/mail/mailman admin bps_comps_print_announce bps_comps_print_announce-bounces: |/usr/local/mailman/mail/mailman bounces bps_comps_print_announce bps_comps_print_announce-confirm: |/usr/local/mailman/mail/mailman confirm bps_comps_print_announce bps_comps_print_announce-join: |/usr/local/mailman/mail/mailman join bps_comps_print_announce bps_comps_print_announce-leave:|/usr/local/mailman/mail/mailman leave bps_comps_print_announce bps_comps_print_announce-owner:|/usr/local/mailman/mail/mailman owner bps_comps_print_announce bps_comps_print_announce-request: |/usr/local/mailman/mail/mailman request bps_comps_print_announce bps_comps_print_announce-subscribe:|/usr/local/mailman/mail/mailman subscribe bps_comps_print_announce bps_comps_print_announce-unsubscribe: |/usr/local/mailman/mail/mailman unsubscribe bps_comps_print_announce * Thanks again everyone ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: mailman web access to archives failure:
David Southwell wrote: [...] Hi David, This directory has a problem if mailman runs its scripts with uid/gid of www/www: drwxrws--- 10 mailman mailman 512 Dec 28 15:45 /usr/local/mailman/archives/private Other users (including www) are prevented from entering that directory. Have you tried running the check_perms scripts from the mailman package? That may help you determine where the problem is. More information can be found here, along with some specific info about the permissions for the private directory: http://bit.ly/7Ht0rS Hope that helps, Greg Yes I did run the perms script - but that was before I made the changes to httpd.conf . I have just rerun check_perms and all is now working!!! You guys have been brilliant - it looks as though the problem was a combination of errors in ownership of mailman/archives, plus mal-configured httpd.conf and my apache virtual configuration files. Once I got thtose soirted out as a result of all the advice I received, the problem has gone away. Many thanks David Beautiful - glad to hear it! Cheers, Greg Thanks Greg One thing I need to mention here.. when I reviewed the history of this the one thing that definitely contributed to the error roll was the instructions to add mailman aliases to /etc/aliases. I think this was where the slide into chaos began because I failed to realise that those instructions (which came from creating a mail list) should not have been heeded! When the aliases are put into /etc/aliases the owner:group combination causes a the perms failure. Not realising this was the root cause, I tried to correct the situation, but instead made it a lot worse!***!!! Here is one example of the auto generated message for the list: *** * Mailing list creation request for list bps_comps_print_announce From: mailman-ow...@vizion2000.net To: mailman-ow...@vizion2000.net The mailing list `bps_comps_print_announce' has been created via the through- the-web interface. In order to complete the activation of this mailing list, the proper /etc/aliases (or equivalent) file must be updated. The program `newaliases' may also have to be run. Here are the entries for the /etc/aliases file: bps_comps_print_announce: |/usr/local/mailman/mail/mailman post bps_comps_print_announce bps_comps_print_announce-admin:|/usr/local/mailman/mail/mailman admin bps_comps_print_announce bps_comps_print_announce-bounces: |/usr/local/mailman/mail/mailman bounces bps_comps_print_announce bps_comps_print_announce-confirm: |/usr/local/mailman/mail/mailman confirm bps_comps_print_announce bps_comps_print_announce-join: |/usr/local/mailman/mail/mailman join bps_comps_print_announce bps_comps_print_announce-leave:|/usr/local/mailman/mail/mailman leave bps_comps_print_announce bps_comps_print_announce-owner:|/usr/local/mailman/mail/mailman owner bps_comps_print_announce bps_comps_print_announce-request: |/usr/local/mailman/mail/mailman request bps_comps_print_announce bps_comps_print_announce-subscribe:|/usr/local/mailman/mail/mailman subscribe bps_comps_print_announce bps_comps_print_announce-unsubscribe: |/usr/local/mailman/mail/mailman unsubscribe bps_comps_print_announce * Thanks again everyone Incidentally I tried to Fw a copy to jm...@freebsd.org who is listed in the Makefile as the current maintainer of the port.. but his email address seems to be invalid ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
mailman web access to archives failure:
Thank you in advance for replies. The list is now working fine however: From: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce On line: To see collection of prior postings to the list, visit the clicking link for bps_comps_print_announce Archives goes to: http://www.vizion2000.net/pipermail/bps_comps_print_announce/ with result: Forbidden You don't have permission to access/pipermail/bps_comps_print_announce/ on this server Attempt to view archives from Topis Section of the mailing list administration page using link for Go to list archives also fails Extract from httpd-error.log [Tue Dec 29 12:50:12 2009] [error] [client 62.49.197.51] attempt to invoke directory as script: /usr/local/mailman/cgi-bin/ [Tue Dec 29 12:50:47 2009] [error] [client 62.49.197.51] Symbolic link not allowed or link target not accessible: /usr/local/mailman/archives/public/bps_comps_print_announce, referer: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce Extract from httpd.conf ScriptAlias /mailman /usr/local/mailman/cgi-bin/ Directory /usr/local/mailman Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all /Directory ScriptAlias /pipermail /usr/local/mailman/archives/public/ Directory /usr/local/mailman/archives/public/ Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all Options Indexes MultiViews AddDefaultCharset Off /Directory dns1# pwd /usr/local/mailman dns1# ls -l total 36 drwxrwsr-x 11 mailman mailman 2048 Dec 29 09:03 Mailman drwxrwsr-x 4 www www 512 Dec 28 13:07 archives drwxrwsr-x 2 root mailman 1024 Dec 28 13:07 bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cgi-bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cron drwxrwsr-x 2 mailman mailman 512 Dec 28 15:54 data drwxrwsr-x 2 root mailman 512 Dec 28 13:07 icons drwxrwsr-x 6 mailman mailman 512 Dec 28 15:45 lists drwxrwsr-x 2 root mailman 512 Dec 29 14:00 locks drwxrwsr-x 2 mailman mailman 512 Dec 29 09:04 logs drwxrwsr-x 2 root mailman 512 Dec 28 13:07 mail drwxrwsr-x 37 root mailman 512 Dec 28 13:07 messages drwxrwsr-x 5 root mailman 512 Dec 28 13:07 pythonlib drwxrwsr-x 11 mailman mailman 512 Dec 28 15:54 qfiles drwxrwsr-x 2 root mailman 512 Dec 28 13:07 scripts drwxrwsr-x 2 root mailman 512 Dec 28 13:07 spam drwxrwsr-x 38 root mailman 512 Dec 28 13:07 templates drwxrwsr-x 4 root mailman 512 Dec 28 13:07 tests dns1# cd archives dns1# ls -l total 4 drwxrws--- 10 www www 512 Dec 28 15:45 private drwxrwsr-x 2 www www 512 Dec 28 15:46 public dns1# cd private dns1# ls -l total 16 drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat.mbox drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders.mbox drwxrwsr-x 4 www www 512 Dec 29 03:27 bps_comps_print_announce drwxrwsr-x 2 www www 512 Dec 28 15:54 bps_comps_print_announce.mbox drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman.mbox dns1# cd ../public dns1# ls -l total 0 lrwxr-xr-x 1 www www 55 Dec 19 17:58 bps_comp_print_chat - /usr/local/mailman/archives/private/bps_comp_print_chat lrwxr-xr-x 1 www www 60 Dec 19 17:57 bps_comp_print_reminders - /usr/local/mailman/archives/private/bps_comp_print_reminders lrwxr-xr-x 1 www www 60 Dec 19 17:56 bps_comps_print_announce - /usr/local/mailman/archives/private/bps_comps_print_announce dns1# cd /usr/local/mailman/archives/private/bps_comps_print_announce dns1# ls -l total 14 drwxrwsr-x 2 www www 512 Dec 28 15:54 2009-December -rw-rw-r-- 1 www www 2870 Dec 28 15:54 2009-December.txt -rw-rw-r-- 1 www www 1356 Dec 29 03:27 2009-December.txt.gz drwxrws--- 2 www www 512 Dec 28 15:54 database -rw-rw-r-- 1 www www 1110 Dec 28 15:54 index.html -rw-rw 1 www www 870 Dec 28 15:54 pipermail.pck dns1# Thanks in advance ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: mailman web access to archives failure:
The two Alias lines I have in my working installation are: ScriptAlias /mailman /usr/local/mailman/cgi-bin Alias /pipermail /usr/local/mailman/archives/public -Boris David Southwell wrote: Thank you in advance for replies. The list is now working fine however: From: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce On line: To see collection of prior postings to the list, visit the clicking link for bps_comps_print_announce Archives goes to: http://www.vizion2000.net/pipermail/bps_comps_print_announce/ with result: Forbidden You don't have permission to access/pipermail/bps_comps_print_announce/ on this server Attempt to view archives from Topis Section of the mailing list administration page using link for Go to list archives also fails Extract from httpd-error.log [Tue Dec 29 12:50:12 2009] [error] [client 62.49.197.51] attempt to invoke directory as script: /usr/local/mailman/cgi-bin/ [Tue Dec 29 12:50:47 2009] [error] [client 62.49.197.51] Symbolic link not allowed or link target not accessible: /usr/local/mailman/archives/public/bps_comps_print_announce, referer: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce Extract from httpd.conf ScriptAlias /mailman /usr/local/mailman/cgi-bin/ Directory /usr/local/mailman Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all /Directory ScriptAlias /pipermail /usr/local/mailman/archives/public/ Directory /usr/local/mailman/archives/public/ Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all Options Indexes MultiViews AddDefaultCharset Off /Directory dns1# pwd /usr/local/mailman dns1# ls -l total 36 drwxrwsr-x 11 mailman mailman 2048 Dec 29 09:03 Mailman drwxrwsr-x 4 www www 512 Dec 28 13:07 archives drwxrwsr-x 2 root mailman 1024 Dec 28 13:07 bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cgi-bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cron drwxrwsr-x 2 mailman mailman 512 Dec 28 15:54 data drwxrwsr-x 2 root mailman 512 Dec 28 13:07 icons drwxrwsr-x 6 mailman mailman 512 Dec 28 15:45 lists drwxrwsr-x 2 root mailman 512 Dec 29 14:00 locks drwxrwsr-x 2 mailman mailman 512 Dec 29 09:04 logs drwxrwsr-x 2 root mailman 512 Dec 28 13:07 mail drwxrwsr-x 37 root mailman 512 Dec 28 13:07 messages drwxrwsr-x 5 root mailman 512 Dec 28 13:07 pythonlib drwxrwsr-x 11 mailman mailman 512 Dec 28 15:54 qfiles drwxrwsr-x 2 root mailman 512 Dec 28 13:07 scripts drwxrwsr-x 2 root mailman 512 Dec 28 13:07 spam drwxrwsr-x 38 root mailman 512 Dec 28 13:07 templates drwxrwsr-x 4 root mailman 512 Dec 28 13:07 tests dns1# cd archives dns1# ls -l total 4 drwxrws--- 10 www www 512 Dec 28 15:45 private drwxrwsr-x 2 www www 512 Dec 28 15:46 public dns1# cd private dns1# ls -l total 16 drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat.mbox drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders.mbox drwxrwsr-x 4 www www 512 Dec 29 03:27 bps_comps_print_announce drwxrwsr-x 2 www www 512 Dec 28 15:54 bps_comps_print_announce.mbox drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman.mbox dns1# cd ../public dns1# ls -l total 0 lrwxr-xr-x 1 www www 55 Dec 19 17:58 bps_comp_print_chat - /usr/local/mailman/archives/private/bps_comp_print_chat lrwxr-xr-x 1 www www 60 Dec 19 17:57 bps_comp_print_reminders - /usr/local/mailman/archives/private/bps_comp_print_reminders lrwxr-xr-x 1 www www 60 Dec 19 17:56 bps_comps_print_announce - /usr/local/mailman/archives/private/bps_comps_print_announce dns1# cd /usr/local/mailman/archives/private/bps_comps_print_announce dns1# ls -l total 14 drwxrwsr-x 2 www www 512 Dec 28 15:54 2009-December -rw-rw-r-- 1 www www 2870 Dec 28 15:54 2009-December.txt -rw-rw-r-- 1 www www 1356 Dec 29 03:27 2009-December.txt.gz drwxrws--- 2 www www 512 Dec 28 15:54 database -rw-rw-r-- 1 www www 1110 Dec 28 15:54 index.html -rw-rw 1 www www 870 Dec 28 15:54 pipermail.pck dns1# Thanks in advance ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: mailman web access to archives failure:
Boris Kochergin sp...@acm.poly.edu helpfully said: David Southwell wrote: Thank you in advance for replies. The list is now working fine however: From: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce On line: To see collection of prior postings to the list, visit the clicking link for bps_comps_print_announce Archives goes to: http://www.vizion2000.net/pipermail/bps_comps_print_announce/ with result: Forbidden You don't have permission to access/pipermail/bps_comps_print_announce/ on this server Attempt to view archives from Topis Section of the mailing list administration page using link for Go to list archives also fails Extract from httpd-error.log [Tue Dec 29 12:50:12 2009] [error] [client 62.49.197.51] attempt to invoke directory as script: /usr/local/mailman/cgi-bin/ [Tue Dec 29 12:50:47 2009] [error] [client 62.49.197.51] Symbolic link not allowed or link target not accessible: /usr/local/mailman/archives/public/bps_comps_print_announce, referer: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce Extract from httpd.conf ScriptAlias /mailman /usr/local/mailman/cgi-bin/ Directory /usr/local/mailman Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all /Directory ScriptAlias /pipermail /usr/local/mailman/archives/public/ Directory /usr/local/mailman/archives/public/ Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all Options Indexes MultiViews AddDefaultCharset Off /Directory dns1# pwd /usr/local/mailman dns1# ls -l total 36 drwxrwsr-x 11 mailman mailman 2048 Dec 29 09:03 Mailman drwxrwsr-x 4 www www 512 Dec 28 13:07 archives drwxrwsr-x 2 root mailman 1024 Dec 28 13:07 bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cgi-bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cron drwxrwsr-x 2 mailman mailman 512 Dec 28 15:54 data drwxrwsr-x 2 root mailman 512 Dec 28 13:07 icons drwxrwsr-x 6 mailman mailman 512 Dec 28 15:45 lists drwxrwsr-x 2 root mailman 512 Dec 29 14:00 locks drwxrwsr-x 2 mailman mailman 512 Dec 29 09:04 logs drwxrwsr-x 2 root mailman 512 Dec 28 13:07 mail drwxrwsr-x 37 root mailman 512 Dec 28 13:07 messages drwxrwsr-x 5 root mailman 512 Dec 28 13:07 pythonlib drwxrwsr-x 11 mailman mailman 512 Dec 28 15:54 qfiles drwxrwsr-x 2 root mailman 512 Dec 28 13:07 scripts drwxrwsr-x 2 root mailman 512 Dec 28 13:07 spam drwxrwsr-x 38 root mailman 512 Dec 28 13:07 templates drwxrwsr-x 4 root mailman 512 Dec 28 13:07 tests dns1# cd archives dns1# ls -l total 4 drwxrws--- 10 www www 512 Dec 28 15:45 private drwxrwsr-x 2 www www 512 Dec 28 15:46 public dns1# cd private dns1# ls -l total 16 drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat.mbox drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders.mbox drwxrwsr-x 4 www www 512 Dec 29 03:27 bps_comps_print_announce drwxrwsr-x 2 www www 512 Dec 28 15:54 bps_comps_print_announce.mbox drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman.mbox dns1# cd ../public dns1# ls -l total 0 lrwxr-xr-x 1 www www 55 Dec 19 17:58 bps_comp_print_chat - /usr/local/mailman/archives/private/bps_comp_print_chat lrwxr-xr-x 1 www www 60 Dec 19 17:57 bps_comp_print_reminders - /usr/local/mailman/archives/private/bps_comp_print_reminders lrwxr-xr-x 1 www www 60 Dec 19 17:56 bps_comps_print_announce - /usr/local/mailman/archives/private/bps_comps_print_announce dns1# cd /usr/local/mailman/archives/private/bps_comps_print_announce dns1# ls -l total 14 drwxrwsr-x 2 www www 512 Dec 28 15:54 2009-December -rw-rw-r-- 1 www www 2870 Dec 28 15:54 2009-December.txt -rw-rw-r-- 1 www www 1356 Dec 29 03:27 2009-December.txt.gz drwxrws--- 2 www www 512 Dec 28 15:54 database -rw-rw-r-- 1 www www 1110 Dec 28 15:54 index.html -rw-rw 1 www www 870 Dec 28 15:54 pipermail.pck dns1# Thanks in advance The two Alias lines I have in my working installation are: ScriptAlias /mailman /usr/local/mailman/cgi-bin Alias /pipermail /usr/local/mailman/archives/public -Boris Changed those but still have the problem. Could you possible compare my owner:group and permissions with the setting in your working /usr/local/mailman/ hierarchy? Maybe the problem lies there. Thanks david ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to
Re: mailman web access to archives failure:
David Southwell wrote: Boris Kochergin sp...@acm.poly.edu helpfully said: David Southwell wrote: Thank you in advance for replies. The list is now working fine however: From: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce On line: To see collection of prior postings to the list, visit the clicking link for bps_comps_print_announce Archives goes to: http://www.vizion2000.net/pipermail/bps_comps_print_announce/ with result: Forbidden You don't have permission to access/pipermail/bps_comps_print_announce/ on this server Attempt to view archives from Topis Section of the mailing list administration page using link for Go to list archives also fails Extract from httpd-error.log [Tue Dec 29 12:50:12 2009] [error] [client 62.49.197.51] attempt to invoke directory as script: /usr/local/mailman/cgi-bin/ [Tue Dec 29 12:50:47 2009] [error] [client 62.49.197.51] Symbolic link not allowed or link target not accessible: /usr/local/mailman/archives/public/bps_comps_print_announce, referer: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce Extract from httpd.conf ScriptAlias /mailman /usr/local/mailman/cgi-bin/ Directory /usr/local/mailman Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all /Directory ScriptAlias /pipermail /usr/local/mailman/archives/public/ Directory /usr/local/mailman/archives/public/ Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all Options Indexes MultiViews AddDefaultCharset Off /Directory dns1# pwd /usr/local/mailman dns1# ls -l total 36 drwxrwsr-x 11 mailman mailman 2048 Dec 29 09:03 Mailman drwxrwsr-x 4 www www 512 Dec 28 13:07 archives drwxrwsr-x 2 root mailman 1024 Dec 28 13:07 bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cgi-bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cron drwxrwsr-x 2 mailman mailman 512 Dec 28 15:54 data drwxrwsr-x 2 root mailman 512 Dec 28 13:07 icons drwxrwsr-x 6 mailman mailman 512 Dec 28 15:45 lists drwxrwsr-x 2 root mailman 512 Dec 29 14:00 locks drwxrwsr-x 2 mailman mailman 512 Dec 29 09:04 logs drwxrwsr-x 2 root mailman 512 Dec 28 13:07 mail drwxrwsr-x 37 root mailman 512 Dec 28 13:07 messages drwxrwsr-x 5 root mailman 512 Dec 28 13:07 pythonlib drwxrwsr-x 11 mailman mailman 512 Dec 28 15:54 qfiles drwxrwsr-x 2 root mailman 512 Dec 28 13:07 scripts drwxrwsr-x 2 root mailman 512 Dec 28 13:07 spam drwxrwsr-x 38 root mailman 512 Dec 28 13:07 templates drwxrwsr-x 4 root mailman 512 Dec 28 13:07 tests dns1# cd archives dns1# ls -l total 4 drwxrws--- 10 www www 512 Dec 28 15:45 private drwxrwsr-x 2 www www 512 Dec 28 15:46 public dns1# cd private dns1# ls -l total 16 drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat.mbox drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders.mbox drwxrwsr-x 4 www www 512 Dec 29 03:27 bps_comps_print_announce drwxrwsr-x 2 www www 512 Dec 28 15:54 bps_comps_print_announce.mbox drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman.mbox dns1# cd ../public dns1# ls -l total 0 lrwxr-xr-x 1 www www 55 Dec 19 17:58 bps_comp_print_chat - /usr/local/mailman/archives/private/bps_comp_print_chat lrwxr-xr-x 1 www www 60 Dec 19 17:57 bps_comp_print_reminders - /usr/local/mailman/archives/private/bps_comp_print_reminders lrwxr-xr-x 1 www www 60 Dec 19 17:56 bps_comps_print_announce - /usr/local/mailman/archives/private/bps_comps_print_announce dns1# cd /usr/local/mailman/archives/private/bps_comps_print_announce dns1# ls -l total 14 drwxrwsr-x 2 www www 512 Dec 28 15:54 2009-December -rw-rw-r-- 1 www www 2870 Dec 28 15:54 2009-December.txt -rw-rw-r-- 1 www www 1356 Dec 29 03:27 2009-December.txt.gz drwxrws--- 2 www www 512 Dec 28 15:54 database -rw-rw-r-- 1 www www 1110 Dec 28 15:54 index.html -rw-rw 1 www www 870 Dec 28 15:54 pipermail.pck dns1# Thanks in advance The two Alias lines I have in my working installation are: ScriptAlias /mailman /usr/local/mailman/cgi-bin Alias /pipermail /usr/local/mailman/archives/public -Boris Changed those but still have the problem. Could you possible compare my owner:group and permissions with the setting in your working /usr/local/mailman/ hierarchy? Maybe the problem lies there. Thanks david A recursive listing of /usr/local/mailman is up at http://acm.poly.edu/~spawk/mailman/mailman.txt, with the two relevant Apache configuration files, in full, also in that directory. -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To
Re: mailman web access to archives failure:
David Southwell wrote: Boris Kochergin sp...@acm.poly.edu helpfully said: David Southwell wrote: Thank you in advance for replies. The list is now working fine however: From: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce On line: To see collection of prior postings to the list, visit the clicking link for bps_comps_print_announce Archives goes to: http://www.vizion2000.net/pipermail/bps_comps_print_announce/ with result: Forbidden You don't have permission to access/pipermail/bps_comps_print_announce/ on this server Attempt to view archives from Topis Section of the mailing list administration page using link for Go to list archives also fails Extract from httpd-error.log [Tue Dec 29 12:50:12 2009] [error] [client 62.49.197.51] attempt to invoke directory as script: /usr/local/mailman/cgi-bin/ [Tue Dec 29 12:50:47 2009] [error] [client 62.49.197.51] Symbolic link not allowed or link target not accessible: /usr/local/mailman/archives/public/bps_comps_print_announce, referer: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce Extract from httpd.conf ScriptAlias /mailman /usr/local/mailman/cgi-bin/ Directory /usr/local/mailman Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all /Directory ScriptAlias /pipermail /usr/local/mailman/archives/public/ Directory /usr/local/mailman/archives/public/ Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all Options Indexes MultiViews AddDefaultCharset Off /Directory dns1# pwd /usr/local/mailman dns1# ls -l total 36 drwxrwsr-x 11 mailman mailman 2048 Dec 29 09:03 Mailman drwxrwsr-x 4 www www 512 Dec 28 13:07 archives drwxrwsr-x 2 root mailman 1024 Dec 28 13:07 bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cgi-bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cron drwxrwsr-x 2 mailman mailman 512 Dec 28 15:54 data drwxrwsr-x 2 root mailman 512 Dec 28 13:07 icons drwxrwsr-x 6 mailman mailman 512 Dec 28 15:45 lists drwxrwsr-x 2 root mailman 512 Dec 29 14:00 locks drwxrwsr-x 2 mailman mailman 512 Dec 29 09:04 logs drwxrwsr-x 2 root mailman 512 Dec 28 13:07 mail drwxrwsr-x 37 root mailman 512 Dec 28 13:07 messages drwxrwsr-x 5 root mailman 512 Dec 28 13:07 pythonlib drwxrwsr-x 11 mailman mailman 512 Dec 28 15:54 qfiles drwxrwsr-x 2 root mailman 512 Dec 28 13:07 scripts drwxrwsr-x 2 root mailman 512 Dec 28 13:07 spam drwxrwsr-x 38 root mailman 512 Dec 28 13:07 templates drwxrwsr-x 4 root mailman 512 Dec 28 13:07 tests dns1# cd archives dns1# ls -l total 4 drwxrws--- 10 www www 512 Dec 28 15:45 private drwxrwsr-x 2 www www 512 Dec 28 15:46 public dns1# cd private dns1# ls -l total 16 drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat.mbox drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders.mbox drwxrwsr-x 4 www www 512 Dec 29 03:27 bps_comps_print_announce drwxrwsr-x 2 www www 512 Dec 28 15:54 bps_comps_print_announce.mbox drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman.mbox dns1# cd ../public dns1# ls -l total 0 lrwxr-xr-x 1 www www 55 Dec 19 17:58 bps_comp_print_chat - /usr/local/mailman/archives/private/bps_comp_print_chat lrwxr-xr-x 1 www www 60 Dec 19 17:57 bps_comp_print_reminders - /usr/local/mailman/archives/private/bps_comp_print_reminders lrwxr-xr-x 1 www www 60 Dec 19 17:56 bps_comps_print_announce - /usr/local/mailman/archives/private/bps_comps_print_announce dns1# cd /usr/local/mailman/archives/private/bps_comps_print_announce dns1# ls -l total 14 drwxrwsr-x 2 www www 512 Dec 28 15:54 2009-December -rw-rw-r-- 1 www www 2870 Dec 28 15:54 2009-December.txt -rw-rw-r-- 1 www www 1356 Dec 29 03:27 2009-December.txt.gz drwxrws--- 2 www www 512 Dec 28 15:54 database -rw-rw-r-- 1 www www 1110 Dec 28 15:54 index.html -rw-rw 1 www www 870 Dec 28 15:54 pipermail.pck dns1# Thanks in advance The two Alias lines I have in my working installation are: ScriptAlias /mailman /usr/local/mailman/cgi-bin Alias /pipermail /usr/local/mailman/archives/public -Boris Changed those but still have the problem. Could you possible compare my owner:group and permissions with the setting in your working /usr/local/mailman/ hierarchy? Maybe the problem lies there. Thanks david A recursive listing of /usr/local/mailman is up at http://acm.poly.edu/~spawk/mailman/mailman.txt, with the two relevant Apache
Re: mailman web access to archives failure:
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Southwell wrote: [...] Thank you Boris After reading your files I changed the httpd.conf to follow your format but it still did not work :-(. Here are my entries: # This should be changed to whatever you set DocumentRoot to. # Directory /usr_www/virtualwebs/vizion2000.net # # Possible values for the Options directive are None, All, # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that MultiViews must be named *explicitly* --- Options All # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be All, None, or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride None # # Controls who can get stuff from this server. # Order allow,deny Allow from all /Directory ScriptAlias /mailman /usr/local/mailman/cgi-bin Directory /usr/local/mailman/cgi-bin/ Options ExecCGI Order allow,deny Allow from all /Directory Alias /pipermail /usr/local/mailman/archives/public Directory /usr/local/mailman/archives/public/ Options ExecCGI FollowSymLinks Order allow,deny Allow from all Options Indexes MultiViews AddDefaultCharset Off DirectoryIndex index.html /Directory # Seems I am struggling with this. Thanks again for all your help. Lets hope I can someone can spot something soon. These things are usually caused by a daft error on my part!! David ___ Hi David, Can you post a listing of the contents of the directory /usr/local/mailman/archives/public/? Also, please visit http://www.vizion2000.net/pipermail/bps_comp_print_reminders/ and post the request errors from httpd-error.log. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLOj8U0sRouByUApARAp0VAKCw7xX2jkoz2/NSay9ja3efLK855wCghp5Y rRsvtELVkOE3IFAIqNfHHcM= =soLl -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: mailman web access to archives failure:
David Southwell wrote: [...] Thank you Boris After reading your files I changed the httpd.conf to follow your format but it still did not work :-(. Here are my entries: # This should be changed to whatever you set DocumentRoot to. # Directory /usr_www/virtualwebs/vizion2000.net # # Possible values for the Options directive are None, All, # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that MultiViews must be named *explicitly* --- Options All # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be All, None, or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride None # # Controls who can get stuff from this server. # Order allow,deny Allow from all /Directory ScriptAlias /mailman /usr/local/mailman/cgi-bin Directory /usr/local/mailman/cgi-bin/ Options ExecCGI Order allow,deny Allow from all /Directory Alias /pipermail /usr/local/mailman/archives/public Directory /usr/local/mailman/archives/public/ Options ExecCGI FollowSymLinks Order allow,deny Allow from all Options Indexes MultiViews AddDefaultCharset Off DirectoryIndex index.html /Directory # Seems I am struggling with this. Thanks again for all your help. Lets hope I can someone can spot something soon. These things are usually caused by a daft error on my part!! David ___ Hi David, Can you post a listing of the contents of the directory /usr/local/mailman/archives/public/? Also, please visit http://www.vizion2000.net/pipermail/bps_comp_print_reminders/ and post the request errors from httpd-error.log. Thank you, Greg Hi Greg Thanks for staying with this - here is the info you asked for: dns1# cd /usr/local/mailman/archives/public/ dns1# ls -l total 0 lrwxr-xr-x 1 www www 55 Dec 19 17:58 bps_comp_print_chat - /usr/local/mailman/archives/private/bps_comp_print_chat lrwxr-xr-x 1 www www 60 Dec 19 17:57 bps_comp_print_reminders - /usr/local/mailman/archives/private/bps_comp_print_reminders lrwxr-xr-x 1 www www 60 Dec 19 17:56 bps_comps_print_announce - /usr/local/mailman/archives/private/bps_comps_print_announce dns1# error-log shows: [Tue Dec 29 17:46:00 2009] [error] [client 62.49.197.50] Symbolic link not allowed or link target not accessible: /usr/local/mailman/archives/public/bps_comp_print_reminders Sudden thought I had not mentioned: This server is running SSL (Apache/2.2.14 mod_ssl/2.2.14) Is there any chance that could possibly affect access to the archives?? Everything else works. Incidentally /usr/local/mailman/ and its subdirectories are on a separate physical drive to the document root which is /usr_www/virtualwebs/vizion2000.net/ Thanks again David ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: mailman web access to archives failure:
David Southwell wrote: David Southwell wrote: Boris Kochergin sp...@acm.poly.edu helpfully said: David Southwell wrote: Thank you in advance for replies. The list is now working fine however: From: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce On line: To see collection of prior postings to the list, visit the clicking link for bps_comps_print_announce Archives goes to: http://www.vizion2000.net/pipermail/bps_comps_print_announce/ with result: Forbidden You don't have permission to access/pipermail/bps_comps_print_announce/ on this server Attempt to view archives from Topis Section of the mailing list administration page using link for Go to list archives also fails Extract from httpd-error.log [Tue Dec 29 12:50:12 2009] [error] [client 62.49.197.51] attempt to invoke directory as script: /usr/local/mailman/cgi-bin/ [Tue Dec 29 12:50:47 2009] [error] [client 62.49.197.51] Symbolic link not allowed or link target not accessible: /usr/local/mailman/archives/public/bps_comps_print_announce, referer: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce Extract from httpd.conf ScriptAlias /mailman /usr/local/mailman/cgi-bin/ Directory /usr/local/mailman Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all /Directory ScriptAlias /pipermail /usr/local/mailman/archives/public/ Directory /usr/local/mailman/archives/public/ Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all Options Indexes MultiViews AddDefaultCharset Off /Directory dns1# pwd /usr/local/mailman dns1# ls -l total 36 drwxrwsr-x 11 mailman mailman 2048 Dec 29 09:03 Mailman drwxrwsr-x 4 www www 512 Dec 28 13:07 archives drwxrwsr-x 2 root mailman 1024 Dec 28 13:07 bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cgi-bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cron drwxrwsr-x 2 mailman mailman 512 Dec 28 15:54 data drwxrwsr-x 2 root mailman 512 Dec 28 13:07 icons drwxrwsr-x 6 mailman mailman 512 Dec 28 15:45 lists drwxrwsr-x 2 root mailman 512 Dec 29 14:00 locks drwxrwsr-x 2 mailman mailman 512 Dec 29 09:04 logs drwxrwsr-x 2 root mailman 512 Dec 28 13:07 mail drwxrwsr-x 37 root mailman 512 Dec 28 13:07 messages drwxrwsr-x 5 root mailman 512 Dec 28 13:07 pythonlib drwxrwsr-x 11 mailman mailman 512 Dec 28 15:54 qfiles drwxrwsr-x 2 root mailman 512 Dec 28 13:07 scripts drwxrwsr-x 2 root mailman 512 Dec 28 13:07 spam drwxrwsr-x 38 root mailman 512 Dec 28 13:07 templates drwxrwsr-x 4 root mailman 512 Dec 28 13:07 tests dns1# cd archives dns1# ls -l total 4 drwxrws--- 10 www www 512 Dec 28 15:45 private drwxrwsr-x 2 www www 512 Dec 28 15:46 public dns1# cd private dns1# ls -l total 16 drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat.mbox drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders.mbox drwxrwsr-x 4 www www 512 Dec 29 03:27 bps_comps_print_announce drwxrwsr-x 2 www www 512 Dec 28 15:54 bps_comps_print_announce.mbox drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman.mbox dns1# cd ../public dns1# ls -l total 0 lrwxr-xr-x 1 www www 55 Dec 19 17:58 bps_comp_print_chat - /usr/local/mailman/archives/private/bps_comp_print_chat lrwxr-xr-x 1 www www 60 Dec 19 17:57 bps_comp_print_reminders - /usr/local/mailman/archives/private/bps_comp_print_reminders lrwxr-xr-x 1 www www 60 Dec 19 17:56 bps_comps_print_announce - /usr/local/mailman/archives/private/bps_comps_print_announce dns1# cd /usr/local/mailman/archives/private/bps_comps_print_announce dns1# ls -l total 14 drwxrwsr-x 2 www www 512 Dec 28 15:54 2009-December -rw-rw-r-- 1 www www 2870 Dec 28 15:54 2009-December.txt -rw-rw-r-- 1 www www 1356 Dec 29 03:27 2009-December.txt.gz drwxrws--- 2 www www 512 Dec 28 15:54 database -rw-rw-r-- 1 www www 1110 Dec 28 15:54 index.html -rw-rw 1 www www 870 Dec 28 15:54 pipermail.pck dns1# Thanks in advance The two Alias lines I have in my working installation are: ScriptAlias /mailman /usr/local/mailman/cgi-bin Alias /pipermail /usr/local/mailman/archives/public -Boris Changed those but still have the problem. Could you possible compare my owner:group and permissions with the setting in your working /usr/local/mailman/ hierarchy? Maybe the problem lies there. Thanks david A recursive listing of /usr/local/mailman is up at http://acm.poly.edu/~spawk/mailman/mailman.txt, with the two relevant Apache configuration files, in full, also in that directory. -Boris Thank you Boris After reading your files I changed the httpd.conf to follow your format but it still
Re: mailman web access to archives failure:
David Southwell wrote: David Southwell wrote: Boris Kochergin sp...@acm.poly.edu helpfully said: David Southwell wrote: Thank you in advance for replies. The list is now working fine however: From: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce On line: To see collection of prior postings to the list, visit the clicking link for bps_comps_print_announce Archives goes to: http://www.vizion2000.net/pipermail/bps_comps_print_announce/ with result: Forbidden You don't have permission to access/pipermail/bps_comps_print_announce/ on this server Attempt to view archives from Topis Section of the mailing list administration page using link for Go to list archives also fails Extract from httpd-error.log [Tue Dec 29 12:50:12 2009] [error] [client 62.49.197.51] attempt to invoke directory as script: /usr/local/mailman/cgi-bin/ [Tue Dec 29 12:50:47 2009] [error] [client 62.49.197.51] Symbolic link not allowed or link target not accessible: /usr/local/mailman/archives/public/bps_comps_print_announce, referer: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce Extract from httpd.conf ScriptAlias /mailman /usr/local/mailman/cgi-bin/ Directory /usr/local/mailman Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all /Directory ScriptAlias /pipermail /usr/local/mailman/archives/public/ Directory /usr/local/mailman/archives/public/ Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all Options Indexes MultiViews AddDefaultCharset Off /Directory dns1# pwd /usr/local/mailman dns1# ls -l total 36 drwxrwsr-x 11 mailman mailman 2048 Dec 29 09:03 Mailman drwxrwsr-x 4 www www 512 Dec 28 13:07 archives drwxrwsr-x 2 root mailman 1024 Dec 28 13:07 bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cgi-bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cron drwxrwsr-x 2 mailman mailman 512 Dec 28 15:54 data drwxrwsr-x 2 root mailman 512 Dec 28 13:07 icons drwxrwsr-x 6 mailman mailman 512 Dec 28 15:45 lists drwxrwsr-x 2 root mailman 512 Dec 29 14:00 locks drwxrwsr-x 2 mailman mailman 512 Dec 29 09:04 logs drwxrwsr-x 2 root mailman 512 Dec 28 13:07 mail drwxrwsr-x 37 root mailman 512 Dec 28 13:07 messages drwxrwsr-x 5 root mailman 512 Dec 28 13:07 pythonlib drwxrwsr-x 11 mailman mailman 512 Dec 28 15:54 qfiles drwxrwsr-x 2 root mailman 512 Dec 28 13:07 scripts drwxrwsr-x 2 root mailman 512 Dec 28 13:07 spam drwxrwsr-x 38 root mailman 512 Dec 28 13:07 templates drwxrwsr-x 4 root mailman 512 Dec 28 13:07 tests dns1# cd archives dns1# ls -l total 4 drwxrws--- 10 www www 512 Dec 28 15:45 private drwxrwsr-x 2 www www 512 Dec 28 15:46 public dns1# cd private dns1# ls -l total 16 drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat.mbox drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders.mbox drwxrwsr-x 4 www www 512 Dec 29 03:27 bps_comps_print_announce drwxrwsr-x 2 www www 512 Dec 28 15:54 bps_comps_print_announce.mbox drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman.mbox dns1# cd ../public dns1# ls -l total 0 lrwxr-xr-x 1 www www 55 Dec 19 17:58 bps_comp_print_chat - /usr/local/mailman/archives/private/bps_comp_print_chat lrwxr-xr-x 1 www www 60 Dec 19 17:57 bps_comp_print_reminders - /usr/local/mailman/archives/private/bps_comp_print_reminders lrwxr-xr-x 1 www www 60 Dec 19 17:56 bps_comps_print_announce - /usr/local/mailman/archives/private/bps_comps_print_announce dns1# cd /usr/local/mailman/archives/private/bps_comps_print_announce dns1# ls -l total 14 drwxrwsr-x 2 www www 512 Dec 28 15:54 2009-December -rw-rw-r-- 1 www www 2870 Dec 28 15:54 2009-December.txt -rw-rw-r-- 1 www www 1356 Dec 29 03:27 2009-December.txt.gz drwxrws--- 2 www www 512 Dec 28 15:54 database -rw-rw-r-- 1 www www 1110 Dec 28 15:54 index.html -rw-rw 1 www www 870 Dec 28 15:54 pipermail.pck dns1# Thanks in advance The two Alias lines I have in my working installation are: ScriptAlias /mailman /usr/local/mailman/cgi-bin Alias /pipermail /usr/local/mailman/archives/public -Boris Changed those but still have the problem. Could you possible compare my owner:group and permissions with the setting in your working /usr/local/mailman/ hierarchy? Maybe the problem lies there. Thanks david A recursive listing of /usr/local/mailman is up at http://acm.poly.edu/~spawk/mailman/mailman.txt, with the two
Re: mailman web access to archives failure:
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Southwell wrote: David Southwell wrote: [...] Thank you Boris After reading your files I changed the httpd.conf to follow your format but it still did not work :-(. Here are my entries: # This should be changed to whatever you set DocumentRoot to. # Directory /usr_www/virtualwebs/vizion2000.net # # Possible values for the Options directive are None, All, # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that MultiViews must be named *explicitly* --- Options All # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be All, None, or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride None # # Controls who can get stuff from this server. # Order allow,deny Allow from all /Directory ScriptAlias /mailman /usr/local/mailman/cgi-bin Directory /usr/local/mailman/cgi-bin/ Options ExecCGI Order allow,deny Allow from all /Directory Alias /pipermail /usr/local/mailman/archives/public Directory /usr/local/mailman/archives/public/ Options ExecCGI FollowSymLinks Order allow,deny Allow from all Options Indexes MultiViews AddDefaultCharset Off DirectoryIndex index.html /Directory # Seems I am struggling with this. Thanks again for all your help. Lets hope I can someone can spot something soon. These things are usually caused by a daft error on my part!! David ___ Hi David, Can you post a listing of the contents of the directory /usr/local/mailman/archives/public/? Also, please visit http://www.vizion2000.net/pipermail/bps_comp_print_reminders/ and post the request errors from httpd-error.log. Thank you, Greg Hi Greg Thanks for staying with this - here is the info you asked for: dns1# cd /usr/local/mailman/archives/public/ dns1# ls -l total 0 lrwxr-xr-x 1 www www 55 Dec 19 17:58 bps_comp_print_chat - /usr/local/mailman/archives/private/bps_comp_print_chat lrwxr-xr-x 1 www www 60 Dec 19 17:57 bps_comp_print_reminders - /usr/local/mailman/archives/private/bps_comp_print_reminders lrwxr-xr-x 1 www www 60 Dec 19 17:56 bps_comps_print_announce - /usr/local/mailman/archives/private/bps_comps_print_announce dns1# error-log shows: [Tue Dec 29 17:46:00 2009] [error] [client 62.49.197.50] Symbolic link not allowed or link target not accessible: /usr/local/mailman/archives/public/bps_comp_print_reminders Sudden thought I had not mentioned: This server is running SSL (Apache/2.2.14 mod_ssl/2.2.14) Is there any chance that could possibly affect access to the archives?? Everything else works. Incidentally /usr/local/mailman/ and its subdirectories are on a separate physical drive to the document root which is /usr_www/virtualwebs/vizion2000.net/ Thanks again David Hi David, I don't think it's an issue with the version of Apache, but rather a permissions issue on your private directory. The quickest way to determine where the problem lies is by running Apache inside of truss (http://bit.ly/DFWAr). With the proper command line arguments, truss should reveal the cause of the link target not accessible error. However, you can also try to figure it out by determining the uid/gid of your Apache processes and inspecting the permissions in the mailman directory hierarchy. Type this: egrep '^(Group|User)' /usr/local/etc/apache22/httpd.conf Note the results. On my system, it prints: User www Group www Next, run each of the following commands in order, noting if any of the permissions prevent the Apache uid/gid from accessing the directory. ls -ld / ls -ld /usr ls -ld /usr/local ls -ld /usr/local/mailman ls -ld /usr/local/mailman/archives ls -ld /usr/local/mailman/archives/private ls -ld /usr/local/mailman/archives/private/bps_comp_print_reminders My guess is that you'll find some permissions that need to be loosened slightly. I'm not familiar with mailman, so I'm assuming that the web interface scripts run with the uid/gid of the Apache process. If they don't for some reason, you'll need to know their uid/gid to do this analysis. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
Re: mailman web access to archives failure:
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Southwell wrote: David Southwell wrote: David Southwell wrote: Boris Kochergin sp...@acm.poly.edu helpfully said: David Southwell wrote: Thank you in advance for replies. The list is now working fine however: From: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce On line: To see collection of prior postings to the list, visit the clicking link for bps_comps_print_announce Archives goes to: http://www.vizion2000.net/pipermail/bps_comps_print_announce/ with result: Forbidden You don't have permission to access/pipermail/bps_comps_print_announce/ on this server Attempt to view archives from Topis Section of the mailing list administration page using link for Go to list archives also fails Extract from httpd-error.log [Tue Dec 29 12:50:12 2009] [error] [client 62.49.197.51] attempt to invoke directory as script: /usr/local/mailman/cgi-bin/ [Tue Dec 29 12:50:47 2009] [error] [client 62.49.197.51] Symbolic link not allowed or link target not accessible: /usr/local/mailman/archives/public/bps_comps_print_announce, referer: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce Extract from httpd.conf ScriptAlias /mailman /usr/local/mailman/cgi-bin/ Directory /usr/local/mailman Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all /Directory ScriptAlias /pipermail /usr/local/mailman/archives/public/ Directory /usr/local/mailman/archives/public/ Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all Options Indexes MultiViews AddDefaultCharset Off /Directory dns1# pwd /usr/local/mailman dns1# ls -l total 36 drwxrwsr-x 11 mailman mailman 2048 Dec 29 09:03 Mailman drwxrwsr-x 4 www www 512 Dec 28 13:07 archives drwxrwsr-x 2 root mailman 1024 Dec 28 13:07 bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cgi-bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cron drwxrwsr-x 2 mailman mailman 512 Dec 28 15:54 data drwxrwsr-x 2 root mailman 512 Dec 28 13:07 icons drwxrwsr-x 6 mailman mailman 512 Dec 28 15:45 lists drwxrwsr-x 2 root mailman 512 Dec 29 14:00 locks drwxrwsr-x 2 mailman mailman 512 Dec 29 09:04 logs drwxrwsr-x 2 root mailman 512 Dec 28 13:07 mail drwxrwsr-x 37 root mailman 512 Dec 28 13:07 messages drwxrwsr-x 5 root mailman 512 Dec 28 13:07 pythonlib drwxrwsr-x 11 mailman mailman 512 Dec 28 15:54 qfiles drwxrwsr-x 2 root mailman 512 Dec 28 13:07 scripts drwxrwsr-x 2 root mailman 512 Dec 28 13:07 spam drwxrwsr-x 38 root mailman 512 Dec 28 13:07 templates drwxrwsr-x 4 root mailman 512 Dec 28 13:07 tests dns1# cd archives dns1# ls -l total 4 drwxrws--- 10 www www 512 Dec 28 15:45 private drwxrwsr-x 2 www www 512 Dec 28 15:46 public dns1# cd private dns1# ls -l total 16 drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat.mbox drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders.mbox drwxrwsr-x 4 www www 512 Dec 29 03:27 bps_comps_print_announce drwxrwsr-x 2 www www 512 Dec 28 15:54 bps_comps_print_announce.mbox drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman.mbox dns1# cd ../public dns1# ls -l total 0 lrwxr-xr-x 1 www www 55 Dec 19 17:58 bps_comp_print_chat - /usr/local/mailman/archives/private/bps_comp_print_chat lrwxr-xr-x 1 www www 60 Dec 19 17:57 bps_comp_print_reminders - /usr/local/mailman/archives/private/bps_comp_print_reminders lrwxr-xr-x 1 www www 60 Dec 19 17:56 bps_comps_print_announce - /usr/local/mailman/archives/private/bps_comps_print_announce dns1# cd /usr/local/mailman/archives/private/bps_comps_print_announce dns1# ls -l total 14 drwxrwsr-x 2 www www 512 Dec 28 15:54 2009-December -rw-rw-r-- 1 www www 2870 Dec 28 15:54 2009-December.txt -rw-rw-r-- 1 www www 1356 Dec 29 03:27 2009-December.txt.gz drwxrws--- 2 www www 512 Dec 28 15:54 database -rw-rw-r-- 1 www www 1110 Dec 28 15:54 index.html -rw-rw 1 www www 870 Dec 28 15:54 pipermail.pck dns1# Thanks in advance The two Alias lines I have in my working installation are: ScriptAlias /mailman /usr/local/mailman/cgi-bin Alias /pipermail /usr/local/mailman/archives/public -Boris Changed those but still have the problem. Could you possible compare my owner:group and permissions with the setting in your working /usr/local/mailman/ hierarchy? Maybe the problem lies there. Thanks david A recursive listing of /usr/local/mailman is up at http://acm.poly.edu/~spawk/mailman/mailman.txt, with the two relevant Apache configuration files, in full, also in that
Re: mailman web access to archives failure:
David Southwell wrote: David Southwell wrote: [...] Thank you Boris After reading your files I changed the httpd.conf to follow your format but it still did not work :-(. Here are my entries: # This should be changed to whatever you set DocumentRoot to. # Directory /usr_www/virtualwebs/vizion2000.net # # Possible values for the Options directive are None, All, # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that MultiViews must be named *explicitly* --- Options All # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be All, None, or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride None # # Controls who can get stuff from this server. # Order allow,deny Allow from all /Directory ScriptAlias /mailman /usr/local/mailman/cgi-bin Directory /usr/local/mailman/cgi-bin/ Options ExecCGI Order allow,deny Allow from all /Directory Alias /pipermail /usr/local/mailman/archives/public Directory /usr/local/mailman/archives/public/ Options ExecCGI FollowSymLinks Order allow,deny Allow from all Options Indexes MultiViews AddDefaultCharset Off DirectoryIndex index.html /Directory # Seems I am struggling with this. Thanks again for all your help. Lets hope I can someone can spot something soon. These things are usually caused by a daft error on my part!! David ___ Hi David, Can you post a listing of the contents of the directory /usr/local/mailman/archives/public/? Also, please visit http://www.vizion2000.net/pipermail/bps_comp_print_reminders/ and post the request errors from httpd-error.log. Thank you, Greg Hi Greg Thanks for staying with this - here is the info you asked for: dns1# cd /usr/local/mailman/archives/public/ dns1# ls -l total 0 lrwxr-xr-x 1 www www 55 Dec 19 17:58 bps_comp_print_chat - /usr/local/mailman/archives/private/bps_comp_print_chat lrwxr-xr-x 1 www www 60 Dec 19 17:57 bps_comp_print_reminders - /usr/local/mailman/archives/private/bps_comp_print_reminders lrwxr-xr-x 1 www www 60 Dec 19 17:56 bps_comps_print_announce - /usr/local/mailman/archives/private/bps_comps_print_announce dns1# error-log shows: [Tue Dec 29 17:46:00 2009] [error] [client 62.49.197.50] Symbolic link not allowed or link target not accessible: /usr/local/mailman/archives/public/bps_comp_print_reminders Sudden thought I had not mentioned: This server is running SSL (Apache/2.2.14 mod_ssl/2.2.14) Is there any chance that could possibly affect access to the archives?? Everything else works. Incidentally /usr/local/mailman/ and its subdirectories are on a separate physical drive to the document root which is /usr_www/virtualwebs/vizion2000.net/ Thanks again David Hi David, I don't think it's an issue with the version of Apache, but rather a permissions issue on your private directory. The quickest way to determine where the problem lies is by running Apache inside of truss (http://bit.ly/DFWAr). With the proper command line arguments, truss should reveal the cause of the link target not accessible error. However, you can also try to figure it out by determining the uid/gid of your Apache processes and inspecting the permissions in the mailman directory hierarchy. Type this: egrep '^(Group|User)' /usr/local/etc/apache22/httpd.conf Note the results. On my system, it prints: User www Group www Next, run each of the following commands in order, noting if any of the permissions prevent the Apache uid/gid from accessing the directory. ls -ld / ls -ld /usr ls -ld /usr/local ls -ld /usr/local/mailman ls -ld /usr/local/mailman/archives ls -ld /usr/local/mailman/archives/private ls -ld /usr/local/mailman/archives/private/bps_comp_print_reminders My guess is that you'll find some permissions that need to be loosened slightly. I'm not familiar with mailman, so I'm assuming that the web interface scripts run with the uid/gid of the Apache process. If they don't for some reason, you'll need to know their uid/gid to do this analysis. Here-tis dns1# egrep '^(Group|User)' /usr/local/etc/apache22/httpd.conf User www Group www dns1# ls -ld / drwxr-xr-x 36 root wheel 1024 Dec 19 11:36 / dns1# ls -ld / drwxr-xr-x 36 root wheel 1024 Dec 19 11:36 / dns1# ls -ld /usr drwxr-xr-x 23 root wheel 512 Dec 12
Re: mailman web access to archives failure:
David Southwell wrote: David Southwell wrote: David Southwell wrote: Boris Kochergin sp...@acm.poly.edu helpfully said: David Southwell wrote: Thank you in advance for replies. The list is now working fine however: From: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce On line: To see collection of prior postings to the list, visit the clicking link for bps_comps_print_announce Archives goes to: http://www.vizion2000.net/pipermail/bps_comps_print_announce/ with result: Forbidden You don't have permission to access/pipermail/bps_comps_print_announce/ on this server Attempt to view archives from Topis Section of the mailing list administration page using link for Go to list archives also fails Extract from httpd-error.log [Tue Dec 29 12:50:12 2009] [error] [client 62.49.197.51] attempt to invoke directory as script: /usr/local/mailman/cgi-bin/ [Tue Dec 29 12:50:47 2009] [error] [client 62.49.197.51] Symbolic link not allowed or link target not accessible: /usr/local/mailman/archives/public/bps_comps_print_announce, referer: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce Extract from httpd.conf ScriptAlias /mailman /usr/local/mailman/cgi-bin/ Directory /usr/local/mailman Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all /Directory ScriptAlias /pipermail /usr/local/mailman/archives/public/ Directory /usr/local/mailman/archives/public/ Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all Options Indexes MultiViews AddDefaultCharset Off /Directory dns1# pwd /usr/local/mailman dns1# ls -l total 36 drwxrwsr-x 11 mailman mailman 2048 Dec 29 09:03 Mailman drwxrwsr-x 4 www www 512 Dec 28 13:07 archives drwxrwsr-x 2 root mailman 1024 Dec 28 13:07 bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cgi-bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cron drwxrwsr-x 2 mailman mailman 512 Dec 28 15:54 data drwxrwsr-x 2 root mailman 512 Dec 28 13:07 icons drwxrwsr-x 6 mailman mailman 512 Dec 28 15:45 lists drwxrwsr-x 2 root mailman 512 Dec 29 14:00 locks drwxrwsr-x 2 mailman mailman 512 Dec 29 09:04 logs drwxrwsr-x 2 root mailman 512 Dec 28 13:07 mail drwxrwsr-x 37 root mailman 512 Dec 28 13:07 messages drwxrwsr-x 5 root mailman 512 Dec 28 13:07 pythonlib drwxrwsr-x 11 mailman mailman 512 Dec 28 15:54 qfiles drwxrwsr-x 2 root mailman 512 Dec 28 13:07 scripts drwxrwsr-x 2 root mailman 512 Dec 28 13:07 spam drwxrwsr-x 38 root mailman 512 Dec 28 13:07 templates drwxrwsr-x 4 root mailman 512 Dec 28 13:07 tests dns1# cd archives dns1# ls -l total 4 drwxrws--- 10 www www 512 Dec 28 15:45 private drwxrwsr-x 2 www www 512 Dec 28 15:46 public dns1# cd private dns1# ls -l total 16 drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat.mbox drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders.mbox drwxrwsr-x 4 www www 512 Dec 29 03:27 bps_comps_print_announce drwxrwsr-x 2 www www 512 Dec 28 15:54 bps_comps_print_announce.mbox drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman.mbox dns1# cd ../public dns1# ls -l total 0 lrwxr-xr-x 1 www www 55 Dec 19 17:58 bps_comp_print_chat - /usr/local/mailman/archives/private/bps_comp_print_chat lrwxr-xr-x 1 www www 60 Dec 19 17:57 bps_comp_print_reminders - /usr/local/mailman/archives/private/bps_comp_print_reminders lrwxr-xr-x 1 www www 60 Dec 19 17:56 bps_comps_print_announce - /usr/local/mailman/archives/private/bps_comps_print_announce dns1# cd /usr/local/mailman/archives/private/bps_comps_print_announce dns1# ls -l total 14 drwxrwsr-x 2 www www 512 Dec 28 15:54 2009-December -rw-rw-r-- 1 www www 2870 Dec 28 15:54 2009-December.txt -rw-rw-r-- 1 www www 1356 Dec 29 03:27 2009-December.txt.gz drwxrws--- 2 www www 512 Dec 28 15:54 database -rw-rw-r-- 1 www www 1110 Dec 28 15:54 index.html -rw-rw 1 www www 870 Dec 28 15:54 pipermail.pck dns1# Thanks in advance The two Alias lines I have in my working installation are: ScriptAlias /mailman /usr/local/mailman/cgi-bin Alias /pipermail /usr/local/mailman/archives/public -Boris Changed those but still have the problem. Could you possible compare my owner:group and permissions with the setting in your working /usr/local/mailman/ hierarchy? Maybe the problem lies there. Thanks david A recursive listing of /usr/local/mailman is up at
Re: mailman web access to archives failure:
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Southwell wrote: David Southwell wrote: David Southwell wrote: [...] Thank you Boris After reading your files I changed the httpd.conf to follow your format but it still did not work :-(. Here are my entries: # This should be changed to whatever you set DocumentRoot to. # Directory /usr_www/virtualwebs/vizion2000.net # # Possible values for the Options directive are None, All, # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that MultiViews must be named *explicitly* --- Options All # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be All, None, or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride None # # Controls who can get stuff from this server. # Order allow,deny Allow from all /Directory ScriptAlias /mailman /usr/local/mailman/cgi-bin Directory /usr/local/mailman/cgi-bin/ Options ExecCGI Order allow,deny Allow from all /Directory Alias /pipermail /usr/local/mailman/archives/public Directory /usr/local/mailman/archives/public/ Options ExecCGI FollowSymLinks Order allow,deny Allow from all Options Indexes MultiViews AddDefaultCharset Off DirectoryIndex index.html /Directory # Seems I am struggling with this. Thanks again for all your help. Lets hope I can someone can spot something soon. These things are usually caused by a daft error on my part!! David ___ Hi David, Can you post a listing of the contents of the directory /usr/local/mailman/archives/public/? Also, please visit http://www.vizion2000.net/pipermail/bps_comp_print_reminders/ and post the request errors from httpd-error.log. Thank you, Greg Hi Greg Thanks for staying with this - here is the info you asked for: dns1# cd /usr/local/mailman/archives/public/ dns1# ls -l total 0 lrwxr-xr-x 1 www www 55 Dec 19 17:58 bps_comp_print_chat - /usr/local/mailman/archives/private/bps_comp_print_chat lrwxr-xr-x 1 www www 60 Dec 19 17:57 bps_comp_print_reminders - /usr/local/mailman/archives/private/bps_comp_print_reminders lrwxr-xr-x 1 www www 60 Dec 19 17:56 bps_comps_print_announce - /usr/local/mailman/archives/private/bps_comps_print_announce dns1# error-log shows: [Tue Dec 29 17:46:00 2009] [error] [client 62.49.197.50] Symbolic link not allowed or link target not accessible: /usr/local/mailman/archives/public/bps_comp_print_reminders Sudden thought I had not mentioned: This server is running SSL (Apache/2.2.14 mod_ssl/2.2.14) Is there any chance that could possibly affect access to the archives?? Everything else works. Incidentally /usr/local/mailman/ and its subdirectories are on a separate physical drive to the document root which is /usr_www/virtualwebs/vizion2000.net/ Thanks again David Hi David, I don't think it's an issue with the version of Apache, but rather a permissions issue on your private directory. The quickest way to determine where the problem lies is by running Apache inside of truss (http://bit.ly/DFWAr). With the proper command line arguments, truss should reveal the cause of the link target not accessible error. However, you can also try to figure it out by determining the uid/gid of your Apache processes and inspecting the permissions in the mailman directory hierarchy. Type this: egrep '^(Group|User)' /usr/local/etc/apache22/httpd.conf Note the results. On my system, it prints: User www Group www Next, run each of the following commands in order, noting if any of the permissions prevent the Apache uid/gid from accessing the directory. ls -ld / ls -ld /usr ls -ld /usr/local ls -ld /usr/local/mailman ls -ld /usr/local/mailman/archives ls -ld /usr/local/mailman/archives/private ls -ld /usr/local/mailman/archives/private/bps_comp_print_reminders My guess is that you'll find some permissions that need to be loosened slightly. I'm not familiar with mailman, so I'm assuming that the web interface scripts run with the uid/gid of the Apache process. If they don't for some reason, you'll need to know their uid/gid to do this analysis. Here-tis dns1# egrep '^(Group|User)' /usr/local/etc/apache22/httpd.conf User www Group www dns1# ls -ld / drwxr-xr-x 36 root wheel 1024 Dec 19 11:36 / dns1# ls -ld / drwxr-xr-x 36 root wheel 1024 Dec 19 11:36 / dns1# ls -ld /usr drwxr-xr-x 23 root wheel 512 Dec 12 14:21 /usr dns1# ls -ld /usr/local
Re: mailman web access to archives failure:
David Southwell wrote: David Southwell wrote: David Southwell wrote: [...] Thank you Boris After reading your files I changed the httpd.conf to follow your format but it still did not work :-(. Here are my entries: # This should be changed to whatever you set DocumentRoot to. # Directory /usr_www/virtualwebs/vizion2000.net # # Possible values for the Options directive are None, All, # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that MultiViews must be named *explicitly* --- Options All # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be All, None, or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride None # # Controls who can get stuff from this server. # Order allow,deny Allow from all /Directory ScriptAlias /mailman /usr/local/mailman/cgi-bin Directory /usr/local/mailman/cgi-bin/ Options ExecCGI Order allow,deny Allow from all /Directory Alias /pipermail /usr/local/mailman/archives/public Directory /usr/local/mailman/archives/public/ Options ExecCGI FollowSymLinks Order allow,deny Allow from all Options Indexes MultiViews AddDefaultCharset Off DirectoryIndex index.html /Directory # Seems I am struggling with this. Thanks again for all your help. Lets hope I can someone can spot something soon. These things are usually caused by a daft error on my part!! David ___ Hi David, Can you post a listing of the contents of the directory /usr/local/mailman/archives/public/? Also, please visit http://www.vizion2000.net/pipermail/bps_comp_print_reminders/ and post the request errors from httpd-error.log. Thank you, Greg Hi Greg Thanks for staying with this - here is the info you asked for: dns1# cd /usr/local/mailman/archives/public/ dns1# ls -l total 0 lrwxr-xr-x 1 www www 55 Dec 19 17:58 bps_comp_print_chat - /usr/local/mailman/archives/private/bps_comp_print_chat lrwxr-xr-x 1 www www 60 Dec 19 17:57 bps_comp_print_reminders - /usr/local/mailman/archives/private/bps_comp_print_reminders lrwxr-xr-x 1 www www 60 Dec 19 17:56 bps_comps_print_announce - /usr/local/mailman/archives/private/bps_comps_print_announce dns1# error-log shows: [Tue Dec 29 17:46:00 2009] [error] [client 62.49.197.50] Symbolic link not allowed or link target not accessible: /usr/local/mailman/archives/public/bps_comp_print_reminders Sudden thought I had not mentioned: This server is running SSL (Apache/2.2.14 mod_ssl/2.2.14) Is there any chance that could possibly affect access to the archives?? Everything else works. Incidentally /usr/local/mailman/ and its subdirectories are on a separate physical drive to the document root which is /usr_www/virtualwebs/vizion2000.net/ Thanks again David Hi David, I don't think it's an issue with the version of Apache, but rather a permissions issue on your private directory. The quickest way to determine where the problem lies is by running Apache inside of truss (http://bit.ly/DFWAr). With the proper command line arguments, truss should reveal the cause of the link target not accessible error. However, you can also try to figure it out by determining the uid/gid of your Apache processes and inspecting the permissions in the mailman directory hierarchy. Type this: egrep '^(Group|User)' /usr/local/etc/apache22/httpd.conf Note the results. On my system, it prints: User www Group www Next, run each of the following commands in order, noting if any of the permissions prevent the Apache uid/gid from accessing the directory. ls -ld / ls -ld /usr ls -ld /usr/local ls -ld /usr/local/mailman ls -ld /usr/local/mailman/archives ls -ld /usr/local/mailman/archives/private ls -ld /usr/local/mailman/archives/private/bps_comp_print_reminders My guess is that you'll find some permissions that need to be loosened slightly. I'm not familiar with mailman, so I'm assuming that the web interface scripts run with the uid/gid of the Apache process. If they don't for some reason, you'll need to know their uid/gid to do this analysis. Here-tis dns1# egrep '^(Group|User)' /usr/local/etc/apache22/httpd.conf User www Group www dns1# ls -ld / drwxr-xr-x 36 root wheel 1024 Dec 19 11:36 / dns1# ls -ld / drwxr-xr-x 36 root wheel 1024 Dec 19
Re: mailman web access to archives failure:
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Southwell wrote: [...] Hi David, This directory has a problem if mailman runs its scripts with uid/gid of www/www: drwxrws--- 10 mailman mailman 512 Dec 28 15:45 /usr/local/mailman/archives/private Other users (including www) are prevented from entering that directory. Have you tried running the check_perms scripts from the mailman package? That may help you determine where the problem is. More information can be found here, along with some specific info about the permissions for the private directory: http://bit.ly/7Ht0rS Hope that helps, Greg Yes I did run the perms script - but that was before I made the changes to httpd.conf . I have just rerun check_perms and all is now working!!! You guys have been brilliant - it looks as though the problem was a combination of errors in ownership of mailman/archives, plus mal-configured httpd.conf and my apache virtual configuration files. Once I got thtose soirted out as a result of all the advice I received, the problem has gone away. Many thanks David Beautiful - glad to hear it! Cheers, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLOlK20sRouByUApARAtCiAJ4xTo3O+Rn4g8FYaDXxOw5xrzAZZgCfdTdC xPpaaC1JGV1dNCvdSkyACb0= =UDS1 -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org