ISPConfig Rewrite - Link problem

Discussion in 'General' started by emi, Apr 13, 2024.

  1. emi

    emi New Member

    Hello. I would need advice on "rewrite" to the web application. I'm just testing it for now. I created a website in ISPconfig
    Code:
    something.interestingly.xx
    and I would need to display the website from
    Code:
    http://127.0.0.1:8090/
    after the request. After loading the page
    Code:
    something.interestingly.xx
    , a web application from running on
    Code:
    http://127.0.0.1:8090/
    is displayed. So I log in and some links point to 127.0.0.1. When I change 127.0.0.1 to localhost in the configuration below. So some links refer to localhost. Is there any way to fix this?

    The configuration I use:


    Code:
    # cat >/etc/apache2/conf-available/proxy_requests_off.conf <<EOF
    <IfModule mod_proxy.c>
        ProxyRequests Off
    </IfModule>
    EOF
    
    # a2enmod proxy
    # a2enmod proxy_http
    # a2enconf proxy_requests_off
    And


    Code:
    SSLProxyEngine on
            <IfModule mod_proxy.c>
                ProxyRequests Off
                ProxyPreserveHost On
                ProxyPass / http://127.0.0.1:8090/
                ProxyPassReverse / http://127.0.0.1:8090/
            </IfModule>
        </IfModule>
     
    Last edited: Apr 13, 2024
  2. emi

    emi New Member

    It seems to have started working. ;)
     

Share This Page