Linuxhotel Wiki

Wie ging das nochmal?

Benutzer-Werkzeuge

Webseiten-Werkzeuge


fortgeschrittene:apache-proxy

Dies ist eine alte Version des Dokuments!


Apache2 als Reverse-Proxy

siehe auch: apache, apache-ssl

Pakete

debian

apache2

Proxy einschalten

a2enmod proxy_http

Konfigurieren

/etc/apache2/sites-available/proxy.notebook24.linuxhotel.de : (Debian 5.0)

<IfModule mod_proxy.c>

        #turning ProxyRequests on and allowing proxying from all may allow
        #spammers to use your proxy to send email.

        ProxyRequests Off
        ProxyPass / http://www.naturnah.de/
        ProxyPassReverse / http://www.naturnah.de/

        <Proxy *>
                Order deny,allow
                Allow from all
        </Proxy>

        # Enable/disable the handling of HTTP/1.1 "Via:" headers.
        # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
        # Set to one of: Off | On | Full | Block

        ProxyVia On


</IfModule>
a2ensite proxy.notebook24.linuxhotel.de
/etc/init.d/apache2 force-reload
fortgeschrittene/apache-proxy.1403858102.txt.gz · Zuletzt geändert: 2014/06/27 08:35 von ingo_wichmann