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:44:34 UTC

without proxy enabled

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


Re: without proxy enabled

Posted by James Blond <jb...@gmail.com>.
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 <am...@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
--------------------------------------------------------------------------


Re: without proxy enabled

Posted by James Blond <jb...@gmail.com>.
Guck mal hier
http://httpd.apache.org/docs/2.2/rewrite/rewrite_guide.html#movehomedirs

Mario

On 10/4/06, Vladislav Vorobiev <my...@googlemail.com> wrote:
> Hallo,
>
> ich glaube du müsstest noch den Proxy antivieren
>
> http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/test/VirtualHostRoot$1
>  [P,L]
> ProxyVia on
>
> Grüße
> Vlad
>
> 2006/10/3, Alwin Michael Schronen <am...@schronen.de>:
> > 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
> > --------------------------------------------------------------------------
> >
> >
>
>
> --
> Best Regards
> Vlad Vorobiev
> http://www.mymir.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
> --------------------------------------------------------------------------
>
>

--------------------------------------------------------------------------
                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: without proxy enabled

Posted by Vladislav Vorobiev <my...@googlemail.com>.
Hallo,

ich glaube du müsstest noch den Proxy antivieren

http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/test/VirtualHostRoot$1
 [P,L]
ProxyVia on

Grüße
Vlad

2006/10/3, Alwin Michael Schronen <am...@schronen.de>:
> 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
> --------------------------------------------------------------------------
>
>


-- 
Best Regards
Vlad Vorobiev
http://www.mymir.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
--------------------------------------------------------------------------