You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-de@httpd.apache.org by Alwin Michael Schronen <am...@schronen.de> on 2006/10/03 19:49:33 UTC

request from mod_rewrite without proxy enabled

Hallo,

ich versuche über Apache2 auf Zope zuzugreifen.
Ich erhalte folgende 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
--------------------------------------------------------------------------


Re: request from mod_rewrite without proxy enabled

Posted by Sebastian Kayser <ml...@skayser.de>.
* Alwin Michael Schronen <am...@schronen.de> wrote:
> ich versuche über Apache2 auf Zope zuzugreifen.
> Ich erhalte folgende 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???

Du benötigst die Apache-Module mod_proxy und mod_proxy_http. mod_rewrite
greift beim Einsatz Flags [P] auf Funktionen dieser Module zurück.

,----  http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
| 'proxy|P' (force proxy) This flag forces the substitution part to be
| internally sent as a proxy request and immediately (rewrite processing
| stops here) put through the proxy module. 
| 
| [...]
| 
| Note: mod_proxy must be enabled in order to use this flag.
`----

Sebastian

--------------------------------------------------------------------------
                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
--------------------------------------------------------------------------


Re: request from mod_rewrite without proxy enabled

Posted by Sebastian Kayser <ml...@skayser.de>.
* Alwin Michael Schronen <am...@schronen.de> wrote:
> ich versuche über Apache2 auf Zope zuzugreifen.
> Ich erhalte folgende 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???

Du benötigst die Apache-Module mod_proxy und mod_proxy_http. mod_rewrite
greift beim Einsatz Flags [P] auf Funktionen dieser Module zurück.

,----  http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
| 'proxy|P' (force proxy) This flag forces the substitution part to be
| internally sent as a proxy request and immediately (rewrite processing
| stops here) put through the proxy module. 
| 
| [...]
| 
| Note: mod_proxy must be enabled in order to use this flag.
`----

Sebastian

--------------------------------------------------------------------------
                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
--------------------------------------------------------------------------