Re: You don't have permission to access /pipermail/ on this server.



On Sat, 2006-04-22 at 06:25 -0800, Noah wrote:
On Sat, 22 Apr 2006 15:21:06 +0100, Paul Howarth wrote
On Sat, 2006-04-22 at 01:51 -0800, Noah wrote:
mailman-2.1.7
apache 2.2.0

Okay I just upgrade from apache 1.3.x to apache 2.2.0 and arriving at a
permissions problem when viewing pipermail mailman directories.



--- Browser error message ---

You don't have permission to access /pipermail/list/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an
ErrorDocument to handle the request.

--- snip ---

Here is what apache places in the error_log:

--- snip ---

Symbolic link not allowed or link target not accessible:
/usr/home/mailman/archives/public/list, referer:
http://hostname.garbled.com/mailman/listinfo/list

---- snip ----


Here is what I've done so far:

---- apache httpd.conf file ----

in the virtual host stanza

ScriptAlias /mailman/ /usr/home/mailman/cgi-bin/
Alias /pipermail/ /usr/home/mailman/archives/public/
Alias /icons/ /usr/home/mailman/icons/
<Directory /usr/home/mailman/archives/public/>
Options +FollowSymlinks
Allow from all
</Directory>

--- snip ---

then restarted apache.

--- snip ---

looks like the directories have proper permissions:
typhoon# ls -ld /usr/local/mailman/archives/private
drwxrws--- 103 mailman mailman 2560 Apr 21 21:49
/usr/local/mailman/archives/private
typhoon# ls -ld /usr/local/mailman/archives/public/
drwxrwsr-x 2 mailman mailman 1536 Apr 21 21:49
/usr/local/mailman/archives/public/
typhoon# ls -ld /usr/local/mailman/archives/public/list
lrwxr-xr-x 1 root mailman 54 Apr 21 19:00
/usr/local/mailman/archives/public/list ->
/usr/local/mailman/archives/private/list
typhoon# ls -ld /usr/local/mailman/archives/private/list
drwxrwsr-x 50 www mailman 4096 Apr 21 18:34
/usr/local/mailman/archives/private/list

--- snip ---



what else could be the problem here?

1. Are you running SELinux? If yes, see my response to your previous
posting on this subject.


nope - FC


2. Is the apache user a member of the mailman group? If not, how is the
web server (usually running as user apache, group apache) supposed to
read things under /usr/local/mailman/archives/private, which has no
permissions open for anyone other than user and group apache?


hmmm - that didnt fix it.

I did this:
mailman:*:89:www

also a side note - my private archieves are viewable. its only the public
archives that are getting the 403 error.

The next oddity I notice is that your virtual host configuration
specifies /usr/home/mailman yet your files live
under /usr/local/mailman. I'm guessing you've got a symlink somewhere
but you may need a <Directory> section for the directory containing the
symlink too.

Paul.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: File permissions for a wiki-like site
    ... The question is what file permissions I need to allow for the ... content to be writable by my PHP script. ... The only one doing the writing will be the Apache user itself. ... I'd suggest you get a book on Linux Administration. ...
    (comp.lang.php)
  • Re: apache permission problem please help
    ... Ok as anyone reading this thread knows i have huge mess on hands. ... chmod -R 701 home ... mailclients but i moved one and had to modify the permissions all over ... >>apache was unable to use these files. ...
    (freebsd-questions)
  • Re: FC3 issue with apache 2
    ... permissions but due to SELinux. ... > apache, so naturally I set all my file ownership to my webdev user who ... Apache (the user/group it runs as, on Fedora as apache:apache) ... not paying attention at least not customizing the SELinux setup. ...
    (Fedora)
  • Re: File permissions for a wiki-like site
    ... The question is what file permissions I need to allow for the ... content to be writable by my PHP script. ... The only one doing the writing will be the Apache user itself. ... I'd suggest you get a book on Linux Administration. ...
    (comp.lang.php)
  • Re: File permissions for a wiki-like site
    ... I'm writing a site where a handful of people will be able to edit ... The question is what file permissions I need to allow for the ... content to be writable by my PHP script. ... The only one doing the writing will be the Apache user itself. ...
    (comp.lang.php)