Re: [Mailman-Users] Apache ScriptAlias and POST

2019-12-10 Thread Geoff Campbell
Mark,

Thanks very much for your pointer, the addition of a
DEFAULT_URL_PATTERN as per the article you linked to solved my problem
immediately.

Regards,
Geoff

On Mon, 9 Dec 2019 at 21:25, Geoff Campbell
 wrote:
>
> Mark,
>
> > It is due to redirection losing POST data, but the culprit is not
> > ScriptAlias. It is whatever you have in your Apache config that
> > redirects http to https.
>
> Ah, interesting.
>
> > I don't know why you couldn't find the answer in the archives.
>
> Well, I think the answer there is that there are many different
> answers, all giving multiple paths to a solution, and I got routed off
> down the incorrect little rat-hole.
>
> Thanks for the pointers, I'll work through them in the morning but I
> suspect the configuration I want is easily available from them now
> that I have your pointers, having had a quick glance through.
>
> Regards,
>   Geoff
--
Mailman-Users mailing list Mailman-Users@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/archive%40jab.org


Re: [Mailman-Users] Apache ScriptAlias and POST

2019-12-09 Thread Geoff Campbell
Mark,

> It is due to redirection losing POST data, but the culprit is not
> ScriptAlias. It is whatever you have in your Apache config that
> redirects http to https.

Ah, interesting.

> I don't know why you couldn't find the answer in the archives.

Well, I think the answer there is that there are many different
answers, all giving multiple paths to a solution, and I got routed off
down the incorrect little rat-hole.

Thanks for the pointers, I'll work through them in the morning but I
suspect the configuration I want is easily available from them now
that I have your pointers, having had a quick glance through.

Regards,
  Geoff
--
Mailman-Users mailing list Mailman-Users@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/archive%40jab.org


Re: [Mailman-Users] Apache ScriptAlias and POST

2019-12-09 Thread Mark Sapiro
On 12/9/19 3:42 AM, Geoff Campbell wrote:
> 
> Reading through this list, I see that this is apparently due to the
> ScriptAlias redirection just silently dumping the data content of HTTP
> POST requests.  Which seems a bit odd to me, but what do I know?


It is due to redirection losing POST data, but the culprit is not
ScriptAlias. It is whatever you have in your Apache config that
redirects http to https.

> 
> Can anyone provide a sample config that works, please?  I'm thoroughly
> confused, and none of the threads I've found on this list show any
> kind of full solution.


I don't know why you couldn't find the answer in the archives. I'm suere
it's there many times. The solution is in Mailman. You need to arange
for form action URLs to be https, not http.

See the FAQ article at  for links to
more info. In particular, see steps 2. and 3. at
.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@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/archive%40jab.org


[Mailman-Users] Apache ScriptAlias and POST

2019-12-09 Thread Geoff Campbell
All,

I'm trying to get mailman up and running, using Apache as the web
server, and I appear to have run into a fundamental and insoluble
problem.

Now, please be gentle with me, it's a good 15 years since I last used
Linux servers in anger, and I am very far from being an expert with
Apache configuration, so there may be a very dumb question coming up.

I have the mailman lists working correctly, I can subscribe to lists,
send messages, and so on.  However, I have the apparently widespread
problem that the admin web pages just silently ignore commands.

Reading through this list, I see that this is apparently due to the
ScriptAlias redirection just silently dumping the data content of HTTP
POST requests.  Which seems a bit odd to me, but what do I know?

The standard installation of mailman uses the following httpd conf directives:

ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/

AllowOverride None
Options ExecCGI
Require all granted


This makes sense to me, redirecting calls to /mailman/
through to the directory in which those scripts are installed.  But if
the standard package setup uses HTTP POST, and ScriptAlias dumps HTTP
POST data, how could this ever work?

The documentation says that the Exec directive can be used as an
alternative, which would seem to side-step this problem, but I cannot
find the Exec directive anywhere in the Apache documentation.

Can anyone provide a sample config that works, please?  I'm thoroughly
confused, and none of the threads I've found on this list show any
kind of full solution.

Regards,
Geoff
--
Mailman-Users mailing list Mailman-Users@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/archive%40jab.org