Hi, on a debian10 I have mm3 installed via apt-get
apt-get install mailman3-full dpkg-reconfigure mailman3 dpkg-reconfigure mailman3-web
I have this minor issue
https://webserver/mailman3 redirects to http://webserver/mailman/postorius/lists/
that doesn't exist.
The same problem form django admin page to return to lists
https://website/mailman3/admin/sites/site
In the upper right corner I have a link to https://webserver/mailman3 that redirects to https://mailman/postorius/lists/
I searched for a redirect but without success.
Thank You
-- Gelpi ing. Andrea
I documenti vitali dimostreranno la loro vitalitĖ spostandosi spontaneamente da dove li avevate lasciati a dove non riuscirete a trovarli.
Gelpi Andrea writes:
Hi, on a debian10 I have mm3 installed via apt-get
It's OK to ask here, but for best results also ask on Debian and maybe Ubuntu channels (check the Ubuntu supported and/or testing distro versions to see if they're relevant). Even if we're running Debian, most of the devs will be running built-from-source, and even many of the Debian users here will likely be using Docker images and so on rather than Debian's .debs.
Sorry I can't be of real help :-(, but I don't see any answers yet, and that's the best I can do.
Regards, Steve
On 4/27/20 8:17 AM, Gelpi Andrea wrote:
Hi, on a debian10 I have mm3 installed via apt-get
apt-get install mailman3-full dpkg-reconfigure mailman3 dpkg-reconfigure mailman3-web
I have this minor issue
https://webserver/mailman3 redirects to http://webserver/mailman/postorius/lists/
that doesn't exist.
The same problem form django admin page to return to lists
https://website/mailman3/admin/sites/site
In the upper right corner I have a link to https://webserver/mailman3 that redirects to https://mailman/postorius/lists/
I searched for a redirect but without success.
The redirection must be a web server issue.
There is a urls.py file probably in the same directory as your django settings - probably /usr/share/mailman3-web/urls.py in your case.
You can make a URL like http://webserver/mailman/postorius/lists/ work by adding
url(r'^mailman/postorius/', include('postorius.urls')),
to the urlpatterns list in the urls.py file.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Il 28/04/20 18:31, Mark Sapiro ha scritto:
On 4/27/20 8:17 AM, Gelpi Andrea wrote:
Hi, on a debian10 I have mm3 installed via apt-get
apt-get install mailman3-full dpkg-reconfigure mailman3 dpkg-reconfigure mailman3-web
I have this minor issue
https://webserver/mailman3 redirects to http://webserver/mailman/postorius/lists/
that doesn't exist.
The same problem form django admin page to return to lists
https://website/mailman3/admin/sites/site
In the upper right corner I have a link to https://webserver/mailman3 that redirects to https://mailman/postorius/lists/
I searched for a redirect but without success.
The redirection must be a web server issue.
There is a urls.py file probably in the same directory as your django settings - probably /usr/share/mailman3-web/urls.py in your case.
You can make a URL like http://webserver/mailman/postorius/lists/ work by adding
url(r'^mailman/postorius/', include('postorius.urls')),
to the urlpatterns list in the urls.py file.
The problem seems to be inside the uwsgi proxy. Also django admin web interface has the some problem.
I add /mailman in the apache mailman config installed by the debian package.
Alias /mailman3/favicon.ico /var/lib/mailman3/web/static/postorius/img/favicon.ico Alias /mailman3/static /var/lib/mailman3/web/static
<Directory "/var/lib/mailman3/web/static"> Require all granted </Directory>
<IfModule mod_proxy_uwsgi.c> ProxyPass /mailman3/favicon.ico ! ProxyPass /mailman3/static ! ProxyPass /mailman3 unix:/run/mailman3-web/uwsgi.sock|uwsgi://localhost/ ProxyPass /mailman unix:/run/mailman3-web/uwsgi.sock|uwsgi://localhost/ </IfModule>
-- Gelpi ing. Andrea
It took the computing power of three C-64s to fly to the Moon. It takes a 486 to run Windows 95. Something is wrong here.
participants (3)
-
Gelpi Andrea
-
Mark Sapiro
-
Stephen J. Turnbull