Hi,

erstmal danke für die Antwort !

ich habe dein Beispiel übernommen und die Adressen angepasst, aber:

ich glaube es werden links, die aus Javascripts oder so kommen nicht richtig aufgelöst, denn dort lande ich immer noch im ServerRoot des Apachen und in den logs finde ich noch den Fehler:

File does not exist: /home/www/usr-cgi, referer:http://<Internal-IP>/ONE/http/index/resources/flash/main.swf

Kann man damit auch Javascript-links und Flash umleiten ?


Danke !


Mario Brandt schrieb:
Hi,
der Trick ist es das mit mod_proxy_html umschreiben zu lassen
Bei deiner config fehlen nur noch ein paar Zeilen

Hier mal ein komplettes Beispiel

ProxyPass /google/ http://www.google.com/
ProxyPassReverse /google/ http://www.google.com/

ProxyHTMLURLMap http://www.google.com /google/

<Location /google/>
                ProxyPassReverse /
   SetOutputFilter  proxy-html
   ProxyHTMLURLMap / /google/
   ProxyHTMLURLMap  /google/ /google/
        RequestHeader    unset  Accept-Encoding
</Location>

--------------------------------------------------------------------------
Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [email protected]
           sonstige Anfragen an [email protected]
--------------------------------------------------------------------------

--
  ·''`.    Open Minds.              -°)
 : :' :        Open Sources.        /\\   -°)  -°)
 `. `'             Open Future.    _\_V  _(/) _(\)
   `-      Proudly running unstable Debian GNU/Linux

--------------------------------------------------------------------------
Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [email protected]
          sonstige Anfragen an [email protected]
--------------------------------------------------------------------------

Antwort per Email an