after long searches I figured out how to serve my redirect a subfolder of my apache to my host's web server.
this is the proxypass section in my 000-default-le-ssl.conf
ProxyRequests Off
SSLEngine On
SSLProxyEngine On
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
ProxyPass /proxmox/ https://192.168.6.70:8006/
ProxyPassReverse /proxmox/ https://192.168.6.70:8006/
RewriteRule ^/$ /proxmox/ [R,L]
<Location /proxmox/>
ProxyPassReverse /
#ProxyHTMLEnable On
SetOutputFilter proxy-html
ProxyHTMLURLMap https://192.168.6.70:8006 /proxmox/
ProxyHTMLURLMap / /proxmox/
ProxyHTMLURLMap /proxmox/ /proxmox/
RequestHeader unset Accept-Encoding
</Location>
everything seems to work fine except two paths as shown in the picture.
the 2 failing requests (code 404) are
https://aitribedevel.ns0.it/api2/json/access/domains
https://aitribedevel.ns0.it/pve2/images/proxmox_logo.png
(obviously it won't find the page because proxmox/
is missing) while for example this one
https://aitribedevel.ns0.it/proxmox/pve2/images/logo-128.png
is correctly redirected to the folder /proxmox/ (code 200) even if the path is the same: /pve/images/
.
any hint?
thank u everybody