[Mailman-Users] Update mailman MacServer5
Mark Sapiro
mark at msapiro.net
Sun Sep 4 11:53:58 EDT 2016
On 09/04/2016 01:56 AM, Matthias Schmidt via Mailman-Users wrote:
> sorry for being such a pain today _/\_
>
> now the webinterface is not coming up.
> It looks like the cgi is not executed instead a 404 error is generated
>
> my mailman.conf for apache looks like that (it’s basically the same as on 10.6, I just changed the path):
>
> ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/"
This is OK, but ...
> Alias /pipermail/ "/var/mailman/archives/public/"
> <Directory "/var/mailman/archives/public/">
> Options FollowSymLinks MultiViews Indexes
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
>
> it is included with http.conf
>
> for the site I have a redirect:
> RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^liste\.dinj\.de.$
> RewriteRule ^/(.*) https://%{SERVER_NAME}/mailman/listinfo/dinj [L,R=permanent]
> and that stuff was working on 10.6
And all that does is redirect 'http(s)://liste.dinj.de/' to
'https://%{SERVER_NAME}/mailman/listinfo/dinj'
> the logs say this:
> [Sun Sep 04 17:41:42.375938 2016] [:debug] [pid 95364] mod_hfs_apple2.c(397): [client 127.0.0.1:59199] mod_hfs_apple: Allowing access with matching directory. filename = /WebFolder/dinj/mailman
> [Sun Sep 04 17:41:42.375977 2016] [core:info] [pid 95364] [client 127.0.0.1:59199] AH00128: File does not exist: /WebFolder/dinj/mailman/listinfo/dinj
So why is Apache looking for /WebFolder/dinj/mailman/listinfo/dinj? Is
/WebFolder/dinj the DocumentRoot?
Does this happen with any mailman URL? If you go to
'https://liste.dinj.de/mailman/admin/dinj' do you get a similar 404 or
only if you go to' https://liste.dinj.de/'.
Somehow your 'ScriptAlias /mailman/' directive is not effective. In a
more or less normal apache configuration it is not sufficient to put
mailman.conf in /etc/apache2/conf.d/, you must also have a symlink to it
in /etc/apache2/conf-enabled/. I have no idea if this applies to Mac OX
X Server, but you need to look at your Include and IncludeOptional
directives in the main apache2.conf or whatever it's called to ensure
that mailman.conf is directly or indirectly included.
> /usr/local/mailman/cgi-bin/ has permissions set to 775
It should be 2775 (drwxrwsr-w) but the important thing is the files
therein should be 2755 (-rwxr-sr-x).
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/mailman-users/attachments/20160904/127af047/attachment.sig>
More information about the Mailman-Users
mailing list