[Mailman-Users] private and public archive directory permissions [solved]
Noah
noah-list at enabled.com
Mon Jul 13 09:28:54 CEST 2015
Hi there,
Okay I needed to have www-data own the private directory. THanks for
all your assistance.
--- snip ---
/var/lib/mailman/archives/private $ chown www-data .
/var/lib/mailman/archives/private $ ls -ld
drwxrws--- 110 www-data list 4096 Jul 4 22:44 .
Cheers,
Noah
On 7/12/15 11:53 PM, Noah wrote:
> Hi there Mark,
>
> getting the following error now. Still looks like a filesystem
> permissions thing.
>
> --- snip ---
>
> [Mon Jul 13 06:46:52.951120 2015] [core:error] [pid 7324] [client
> <ipaddr>:50359] AH00037: Symbolic link not allowed or link target not
> accessible: /var/lib/mailman/archives/public/<maillist_name>, referer:
> http://<hostname>/mailman/admin/<maillist_name>
>
> --- snip ---
>
> /etc/apache2 $ cat sites-enabled/<hostname>.conf
> <VirtualHost *:80>
> ServerAdmin webmaster@<domain.com>
> ServerName <hostname>
> ServerAlias www.<hostname> w.<hostname>
> ServerAlias ww.<hostname> wwww.<hostname>
>
> DocumentRoot /var/www
>
> Redirect permanent /index.html http://<hostname>/mailman/listinfo/
>
> <Directory /var/lib/mailman/archives/>
> Options FollowSymLinks
> AllowOverride None
> </Directory>
>
> Alias /pipermail/ /var/lib/mailman/archives/public/
> Alias /images/mailman/ /usr/share/images/mailman/
> ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
>
> RewriteEngine on
> RewriteCond %{REQUEST_METHOD} !^(GET|POST|HEAD)$
> RewriteRule .* - [F]
>
> ErrorLog /var/log/apache2/error.log
>
> # Possible values include: debug, info, notice, warn, error, crit,
> # alert, emerg.
> LogLevel warn
>
> CustomLog /var/log/apache2/access.log combined
> ServerSignature On
>
> <Directory "/usr/share/doc/">
> Options Indexes MultiViews FollowSymLinks
> AllowOverride None
> Order deny,allow
> Deny from all
> Allow from 127.0.0.0/255.0.0.0 ::1/128
> </Directory>
>
> </VirtualHost>
>
>
> /etc/apache2 $ cat conf-enabled/mailman.conf
>
> Alias /pipermail/ /var/lib/mailman/archives/public/
> Alias /images/mailman/ /usr/share/images/mailman/
> ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
> <Directory /usr/lib/cgi-bin/mailman/>
> AllowOverride None
> Options ExecCGI
> AddHandler cgi-script .cgi
> Require all granted
> </Directory>
> <Directory /var/lib/mailman/archives/public/>
> Options Indexes FollowSymlinks
> AllowOverride None
> Require all granted
> </Directory>
> <Directory /usr/share/images/mailman/>
> AllowOverride None
> Require all granted
> </Directory>
>
>
> Cheers,
>
> Noah
>
>
>
> On 7/12/15 9:04 PM, Mark Sapiro wrote:
>> On 7/12/15 8:43 PM, Noah wrote:
>>>
>>> Here is the error
>>>
>>> --- snip ----
>>>
>>> [Mon Jul 13 03:29:36.036929 2015] [authz_core:error] [pid 739] [client
>>> <ip_addr>:64962] AH01630: client denied by server configuration:
>>> /var/lib/mailman/archives/public/<list>, referer:
>>> http://<domain>/mailman/admin/<list>
>>>
>>> --- snip ---
>> ...
>>>>> <Directory /var/lib/mailman/archives/public/>
>>>>> Options Indexes FollowSymlinks
>>>>> AllowOverride None
>>>>> Order allow,deny
>>>>> Allow from all
>>>>> </Directory>
>> ...
>>
>> If this is Apache 2.4, you need
>>
>> Require all granted
>>
>> instead of
>>
>> Order allow,deny
>> Allow from all
>>
>> In the Directory blocks.
>>
> ------------------------------------------------------
> Mailman-Users mailing list Mailman-Users at python.org
> https://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:
> https://mail.python.org/mailman/options/mailman-users/noah-list%40enabled.com
>
More information about the Mailman-Users
mailing list