Apache ProxyPass-Directive

Seite 1 von 1 - Forum: Linux and other OS auf overclockers.at

URL: https://www.overclockers.at/linux/apache_proxypass-directive_200849/page_1 - zur Vollversion wechseln!


DJ_Cyberdance schrieb am 20.10.2008 um 16:41

Hallo!
Ich möchte einen Vhost auf Apache2, der Anfragen an einen Rechner im internen Netz weiterleitet. Dazu gibt es ProxyPass, allerdings funktioniert das nicht so wies sollte...

Code:
<VirtualHost *:*>
        ProxyPreserveHost On
        ProxyPass / [url]http://192.168.0.10:8080/[/url]
        ProxyPassReverse / [url]http://192.168.0.10:8080/[/url]
        ServerName mein.server.name
</VirtualHost>

Ich bekomme prinzipiell einen 403 Forbidden-Fehler. Zu diesem findet Google eine Lösung - die dafür tausendfach: Nebst dem proxy-Modul auch das proxy_http und _ftp-Modul aktivieren. Die sind bei mir allerdings bereits aktiviert (und Apache mehrfach neugestartet, auch klar).

Aber auch die Log-Files meinen das hier:

Code:
[Mon Oct 20 16:06:34 2008] [warn] proxy: No protocol handler was valid for the URL /. 
If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.

Ich habe aber bestimmt alle proxy-Module mit a2enmod enabled... irgendwelche Ideen?




overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2026