Reverse Proxy

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Reverse Proxy

Postby radu990 » 27. January 2017 09:32


I would like to setup a reverse proxy that would reverse as well and the absolute links within the page. My current Configuration is

Code: Select all
<IfModule mod_ssl.c>
        <VirtualHost *:443>
                ServerAdmin webmaster@localhost

                DocumentRoot /var/www/html

                 ErrorLog ${APACHE_LOG_DIR}/error.log
                CustomLog ${APACHE_LOG_DIR}/access.log combined
#               CustomLog "|/usr/bin/tee -a /var/log/apache2/access.log | /usr/bin/logger -t apache -p" combined

                #   SSL Engine Switch:
                #   Enable/Disable SSL for this virtual host.
                SSLEngine on
                SSLProxyEngine On
                ProxyPreserveHost On

        ProxyRequests Off
        ProxyPreserveHost On

ProxyPass /
ProxyPassReverse /

SSLCertificateFile             path_to_certificate
SSLCertificateKeyFile       path_to_certificate
SSLCertificateChainFile    path_to_certificate


Everything works fine, except the thing that absolute url's are not redirected. If I use relative links, everything works well and proxy reverse them. On absolute it doesn't. Please see the screenshots below. Any chance to make them to reverse as well?
Thanks in advance
Posts: 1
Joined: 27. January 2017 08:56
XAMPP version: 2.4
Operating System: Ubuntu

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 56 guests