FAQ
Hi,

I have noticed in the last couple of days that all my list admin
passwords are failing. I.e. I can't login to my lists via the admin web
interface. I've had a look through the logs and can't see anything
strange there.

When I try and login the page just reloads with the password prompt again.

I am using mailman 2.1.5.

I have tried resetting the password from the command line, but this
makes no difference.

Has anyone else experienced this? Where else can I look to debug this
behaviour?

thanks, Iain.

Search Discussions

  • Iain Pople at Feb 15, 2005 at 1:16 am
    I should also mention that this is not a cookies issue (at least not on
    the client end). I have tried with several browsers and double checked
    that cookies are enabled.

    Iain Pople wrote:
    Hi,

    I have noticed in the last couple of days that all my list admin
    passwords are failing. I.e. I can't login to my lists via the admin web
    interface. I've had a look through the logs and can't see anything
    strange there.

    When I try and login the page just reloads with the password prompt again.

    I am using mailman 2.1.5.

    I have tried resetting the password from the command line, but this
    makes no difference.

    Has anyone else experienced this? Where else can I look to debug this
    behaviour?

    thanks, Iain.
  • Mark Sapiro at Feb 15, 2005 at 1:50 am

    Iain Pople wrote:
    I should also mention that this is not a cookies issue (at least not on
    the client end). I have tried with several browsers and double checked
    that cookies are enabled.
    And cookies not being enabled or not working wouldn't cause the symptom
    you see anyway. Without cookies, you have to reauthorize every page,
    but you get to the page you want after entering the password.

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Feb 15, 2005 at 1:35 am

    Iain Pople wrote:
    I have noticed in the last couple of days that all my list admin
    passwords are failing. I.e. I can't login to my lists via the admin web
    interface. I've had a look through the logs and can't see anything
    strange there.

    When I try and login the page just reloads with the password prompt again.

    If there is no red "Authorization failed." message at the top of the
    page when it reloads, the problem isn't the passwords per se. The
    information at
    http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.045.htp
    may be of help.

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Iain Pople at Feb 15, 2005 at 2:36 am
    thanks for that. I had a look at the URL and maybe it has something to
    do with my redirects. I have the following rule:

    RewriteRule ^/$ http://%{HTTP_HOST}/cgi-bin/mailman/listinfo [R]

    Which essentially redirects pages from http://lists.domain.com ->
    http://lists.domain.com/cgi-bin/mailman/listinfo

    Could this be causing the problem?

    Mark Sapiro wrote:
    If there is no red "Authorization failed." message at the top of the
    page when it reloads, the problem isn't the passwords per se. The
    information at
    http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.045.htp
    may be of help.
  • Mark Sapiro at Feb 15, 2005 at 6:25 am

    Iain Pople wrote:
    thanks for that. I had a look at the URL and maybe it has something to
    do with my redirects. I have the following rule:

    RewriteRule ^/$ http://%{HTTP_HOST}/cgi-bin/mailman/listinfo [R]

    Which essentially redirects pages from http://lists.domain.com ->
    http://lists.domain.com/cgi-bin/mailman/listinfo

    Could this be causing the problem?
    No, I don't think so. Many sites have a similar rule which is more
    often something like

    RedirectMatch ^/mailman[/]*$ http://www.example.com/mailman/listinfo

    As you are aware, these only redirect requests from the tld in your
    case or the tld/mailman to the site listinfo page.

    Your issue, if it is caused by a redirect discarding POST data as
    mentioned in FAQ 4.45 would have to be a redirect which would affect
    URLs like http://lists.domain.com/cgi-bin/mailman/admin/<listname> or
    http://lists.domain.com/cgi-bin/mailman/admindb/<listname> or whatever
    you're using to access these pages.

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Iain Pople at Feb 15, 2005 at 10:04 pm

    Mark Sapiro wrote:

    Your issue, if it is caused by a redirect discarding POST data as
    mentioned in FAQ 4.45 would have to be a redirect which would affect
    URLs like http://lists.domain.com/cgi-bin/mailman/admin/<listname> or
    http://lists.domain.com/cgi-bin/mailman/admindb/<listname> or whatever
    you're using to access these pages.
    I get the following in my apache logs so it looks like the POST is
    working ok anyway?

    128.250.xx.xx - - [16/Feb/2005:09:03:56 +1100] "POST
    /cgi-bin/mailman/admin/soccer-uni HTTP/1.1" 200 2281
  • Mark Sapiro at Feb 15, 2005 at 10:53 pm

    Iain Pople wrote:
    I get the following in my apache logs so it looks like the POST is
    working ok anyway?

    128.250.xx.xx - - [16/Feb/2005:09:03:56 +1100] "POST
    /cgi-bin/mailman/admin/soccer-uni HTTP/1.1" 200 2281
    Have you made any change to the admlogin.html template(s), in
    particular the line

    <TD><INPUT TYPE="password" NAME="adminpw" SIZE="30"></TD>

    ?

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Iain Pople at Feb 15, 2005 at 11:03 pm
    No I haven't made any changes, but I have just discovered that if i
    submit the form as a GET request manually I can login. i.e:

    http://host/cgi-bin/mailman/admin/soccer-uni?adminpw=password

    However, once I am logged in I have the same problem, where If i change
    any settings the page just reloads. So it definitely looks like it is a
    problem with POST requests. The thing is I haven't changed anything in
    my apache setup for ages, so I can't see how this could be a problem.

    Mark Sapiro wrote:
    Have you made any change to the admlogin.html template(s), in
    particular the line

    <TD><INPUT TYPE="password" NAME="adminpw" SIZE="30"></TD>

    ?
  • Iain Pople at Feb 15, 2005 at 11:13 pm
    It is working now after an apache restart. go figure.

    Iain Pople wrote:
    No I haven't made any changes, but I have just discovered that if i
    submit the form as a GET request manually I can login. i.e:

    http://host/cgi-bin/mailman/admin/soccer-uni?adminpw=password

    However, once I am logged in I have the same problem, where If i change
    any settings the page just reloads. So it definitely looks like it is a
    problem with POST requests. The thing is I haven't changed anything in
    my apache setup for ages, so I can't see how this could be a problem.

    Mark Sapiro wrote:
    Have you made any change to the admlogin.html template(s), in
    particular the line

    <TD><INPUT TYPE="password" NAME="adminpw" SIZE="30"></TD>

    ?

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedFeb 15, '05 at 1:01a
activeFeb 15, '05 at 11:13p
posts10
users2
websitelist.org

2 users in discussion

Iain Pople: 6 posts Mark Sapiro: 4 posts

People

Translate

site design / logo © 2022 Grokbase