Score:0

redirecting VM's (ubuntu server) apache to its PROXMOX HV results in correct redirect except two paths

af flag

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

af flag
hopeless.. any help?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.