Hallo!
ich habe so etwas schon mal gelöst. Allerdings mit einem anderen
Ansatz braucht aber mod_proxy_html
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_html_module modules/mod_proxy_html.so
LoadFile /server2/apache/bin/libxml2.so
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /irgentwas http://iegentwas.de
ProxyPassReverse /irgentwas http://irgentwas.de
ProxyHTMLURLMap http://irgentwas.de /irgentwas
<Location /irgentwas>
ProxyPassReverse /
SetOutputFilter proxy-html
ProxyHTMLURLMap / /irgentwas/
ProxyHTMLURLMap /irgentwas /irgentwas
RequestHeader unset Accept-Encoding
</Location>
On 10/3/06, Alwin Michael Schronen <ams@schronen.de> wrote:
> Hallo,
> ich versuche über Apache2 auf Zope zuzugreifen.
> Ich erhalte folegende Fehlermeldung:
>
> [Tue Oct 03 19:37:33 2006] [error] [client 192.168.1.102] attempt to
> make remote request from mod_rewrite without proxy enabled:
> proxy:http://localhost:8080/VirtualHostBase/http/gentoo-main:80/test/VirtualHostRoot/
>
> Wo oder wie kann ich proxy aktivieren???
>
> Hier meine Konfiguration:
>
> <VirtualHost *:80>
> ServerAlias gentoo-main
> ServerAdmin info@schronen.de
> ServerSignature On
>
> CustomLog /var/log/apache2/zope1-access.log combined
> ErrorLog /var/log/apache2/zope1-error.log
> LogLevel warn
>
> <IfModule mod_rewrite.c>
> RewriteEngine On
> RewriteRule ^(.*)
> http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/test/VirtualHostRoot$1
> [P,L]
> </IfModule>
> </VirtualHost>
>
> --
> Alwin Michael Schronen
>
> Hohenzollernstrasse 78 d
> D - 66 117 Saarbruecken
>
> Tel. +49 681 94 74 460
> Fax. +49 681 94 74 512
> Mobil +49 173 672 64 46
>
> info@schronen.de
>
>
> --------------------------------------------------------------------------
> Apache HTTP Server Mailing List "users-de"
> unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
> sonstige Anfragen an users-de-help@httpd.apache.org
> --------------------------------------------------------------------------
>
>
--------------------------------------------------------------------------
Apache HTTP Server Mailing List "users-de"
unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
sonstige Anfragen an users-de-help@httpd.apache.org
--------------------------------------------------------------------------
|