Some urls are repeating the webprefix. for example the link to Virtualmin → System Settings → Re-Check Configuration is:
https://<host>/webmin/webmin/virtual-server/check.cgi
instead of
https://<host>/webmin/virtual-server/check.cgi
in /etc/webmin/config
I have these lines:
referers_none=0
referers=<host>
webprefix=/webmin
webprefixnoredir=1
in /etc/webmin/miniserv.conf
ssl=0
bind=127.0.0.1
listen=10000
and in apache <host>.conf
ProxyPreserveHost On
ProxyPass /webmin/ http://localhost:10000/
ProxyPassReverse /webmin/ http://localhost:10000/
as per “Webmin In A Sub-Directory Via A Proxy”
here: Webmin
I realize some urls DO have /webmin/webmin/ like:
https://<host>/webmin/webmin/refresh_modules.cgi
Those seem to work correctly. Webmin login sometimes tries to go to https://:10000 even though webprefix is set. Once logged in, Webmin pages seem to work, but some Virtualmin links have the prefix repeated.
# dpkg -l webmin webmin-virtual-server | grep ^ii
ii webmin 1.981 all web-based administration interface for Unix systems
ii webmin-virtual-server 6.16.gpl all Webmin module Virtualmin Virtual Servers
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"
SYSTEM INFORMATION | |
---|---|
OS type and version: | Ubuntu 20.04.3 LTS |
Webmin version: | 1.981 |
Virtualmin version: | 6.16.gpl |
Related products version: | none |