On Mon, Mar 31, 2025 at 9:32 PM Philip Bondi <pjbo...@systemdatabase.com>
wrote:

> Thank you, Mark, and the whole community for your help, so far. Gosh, it
> feels so close.
>
> It works from browser on Debian virtual machine:
>
> But still fails through Apache:
>
> root@shackleton12:~# *cat /etc/mailman3/urls.py*
> #
>
> ****************************************************************************
> #
> #          $Id: urls.py 165750 2025-03-31 18:19:32Z svn_beechwood $
> #         $URL:
>
> https://systemdatabase.com/svn/svn-sdi/sdi-sysadmin/trunk/SHACKLETON12-root/etc/mailman3/urls.py
> $
> #        $Date: 2025-03-31 14:19:32 -0400 (Mon, 31 Mar 2025) $
> #
> #  Description:
> https://gitlab.com/mailman/mailman-web/-/blob/master/mailman_web/urls.py
> #
> #
>
> ****************************************************************************
> # -*- coding: utf-8 -*-
> # Copyright (C) 2023 by the Free Software Foundation, Inc.
> #
> # This file is part of mailman-web.
> #
> # Postorius is free software: you can redistribute it and/or modify it
> under
> # the terms of the GNU General Public License as published by the Free
> # Software Foundation, either version 3 of the License, or (at your option)
> # any later version.
> #
> # Postorius is distributed in the hope that it will be useful, but WITHOUT
> # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
> # more details.
> #
> # You should have received a copy of the GNU General Public License
> along with
> # Postorius.  If not, see <http://www.gnu.org/licenses/>.
>
>
> from django.conf.urls import include
> from django.contrib import admin
> from django.urls import path, reverse_lazy
> from django.views.generic import RedirectView
>
> urlpatterns = [
>      path(
>          '',
>          RedirectView.as_view(url=reverse_lazy('list_index'),
> permanent=True),
>      ),
>      # Include alternate Postorius and HyperKitty URLs.
>      path('postorius/', include('postorius.urls')),
>      path('hyperkitty/', include('hyperkitty.urls')),
>      # Order counts for various links. Put the above first and the
> following
>      # after so the suggested Apache config still works.
> *path('mailman3/', include('postorius.urls')),*
>      path('archives/', include('hyperkitty.urls')),
>      path('', include('django_mailman3.urls')),
>      path('accounts/', include('allauth.urls')),
>      path('admin/', admin.site.urls),
> ]
>
> When I hit https://systemdatabase.ca/mailman3, I see the following in
> /var/log/apache2/systemdatabase.ca_error.log
>
> [Mon Mar 31 13:48:21.074890 2025] [proxy:error] [pid 3075263:tid
> 3075272] (2)No such file or directory: AH02454: uwsgi: attempt to
> connect to Unix domain socket */run/mailman3-web/uwsgi.sock*

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
uwsgi running outside virtualenv??




-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
 In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/HX4E7J2QA6N53Y37PHBTGZMDWEWB2CW6/

This message sent to arch...@mail-archive.com

Reply via email to