[Mailman-Developers] can't login with Google/Yahoo (last mailman-bundler)

Danil Smirnov danil at smirnov.la
Wed Feb 17 07:36:40 EST 2016


I suspect I need to add my httpd configuration:

---

<VirtualHost 1.2.3.4:80>
SuexecUserGroup "#500" "#500"
ServerName lists.domain.tld
ServerAlias www.lists.domain.tld
ServerAlias webmail.lists.domain.tld
ServerAlias admin.lists.domain.tld
DocumentRoot /home/mailman3/domains/lists.domain.tld/public_html
ErrorLog /var/log/virtualmin/lists.domain.tld_error_log
CustomLog /var/log/virtualmin/lists.domain.tld_access_log combined
ScriptAlias /cgi-bin/ /home/mailman3/domains/lists.domain.tld/cgi-bin/
ScriptAlias /awstats/ /home/mailman3/domains/lists.domain.tld/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/mailman3/domains/lists.domain.tld/public_html>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
AllowOverride All
Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
FCGIWrapper /home/mailman3/domains/lists.domain.tld/fcgi-bin/php5.fcgi .php
FCGIWrapper /home/mailman3/domains/lists.domain.tld/fcgi-bin/php5.fcgi .php5
</Directory>
<Directory /home/mailman3/domains/lists.domain.tld/cgi-bin>
allow from all
AllowOverride All
Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.lists.domain.tld
RewriteRule ^(.*) https://lists.domain.tld:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.lists.domain.tld
RewriteRule ^(.*) https://lists.domain.tld:10000/ [R]
RemoveHandler .php
RemoveHandler .php5
php_admin_value engine Off
IPCCommTimeout 31
FcgidMaxRequestLen 1073741824
<Files awstats.pl>
AuthName "lists.domain.tld statistics"
AuthType Basic
AuthUserFile /home/mailman3/domains/lists.domain.tld/.awstats-htpasswd
require valid-user
</Files>

# Here, use the value of the STATIC_ROOT variable in your Django
configuration file (production.py)
Alias /robots.txt  /var/spool/mailman-web/static/hyperkitty/robots.txt
Alias /favicon.ico /var/spool/mailman-web/static/hyperkitty/favicon.ico
Alias /static      /var/spool/mailman-web/static
<Directory "/var/spool/mailman-web/static">
    Order deny,allow
    Allow from all
    Require all granted
</Directory>

#ErrorLog /var/log/httpd/mailman-web_error.log
#CustomLog /var/log/httpd/mailman-web_access.log combined

WSGIScriptAlias / /usr/local/src/mailman-bundler/bin/mailman-web.wsgi
WSGIDaemonProcess mailman-web display-name=mailman-web
maximum-requests=1000 processes=4 threads=4
python-path=/usr/local/src/venv/lib/python2.7/site-packages

<Directory "/usr/local/src/mailman-bundler/bin">
    <Files mailman-web.wsgi>
        Order deny,allow
        Allow from all
        Require all granted
    </Files>
    WSGIProcessGroup mailman-web
</Directory>

</VirtualHost>
---

2016-02-17 13:48 GMT+02:00 Danil Smirnov <danil at smirnov.la>:

> Hi devs!
>
> I'm still need your advices...
> Now I have the following errors when trying to authenticate with Google or
> Yahoo:
>
> ---
> ERROR 2016-02-17 05:40:44,363 base 1690 139772999759616 Internal Server
> Error: /login/google/
> Traceback (most recent call last):
>   File
> "/usr/local/src/mailman-bundler/eggs/Django-1.8.9-py2.7.egg/django/core/handlers/base.py",
> line 132, in get_response
>     response = wrapped_callback(request, *callback_args, **callback_kwargs)
>   File
> "/usr/local/src/mailman-bundler/eggs/Django-1.8.9-py2.7.egg/django/views/decorators/cache.py",
> line 57, in _wrapped_view_func
>     response = view_func(request, *args, **kwargs)
>   File
> "/usr/local/src/venv/lib/python2.7/site-packages/social/apps/django_app/utils.py",
> line 51, in wrapper
>     return func(request, backend, *args, **kwargs)
> TypeError: auth() got an unexpected keyword argument 'SSL'
> ---
>
> Please advice how to manage this...
>
> Danil
>


More information about the Mailman-Developers mailing list