kleine Frage zu mod_proxy

Alles, was den Apache betrifft, kann hier besprochen werden.

kleine Frage zu mod_proxy

Postby wIllson » 05. April 2006 13:49

Tach Jungs,

habe hier nen Apache + Tomcat laufen. Die Clients greifen über Port 80 auf den Apache zu. Mit mod_proxy habe ich realisiert, das bestimmte Anfragen an den Tomcat weitergeleitet werden.
Code: Select all
<IfModule mod_proxy.c>
  ProxyPass           /abc/  http://localhost:8080/abc/
  ProxyPassReverse    /abc/  http://localhost:8080/abc/
</IfModule>


Wie kann ich die Proxyfunktionalität auf bestimmte Dateiendungen (JSP, ...) beschränken? Eine Anfrage nach einer GIF sollte zum Beispiel vom Apache Webserver selbst gehandeled werden. Vielen Dank im Vorraus =)
wIllson
 
Posts: 1
Joined: 05. April 2006 13:43

Postby Wiedmann » 05. April 2006 14:56

mod_rewrite kann sowas.

ProxyPass lässt sich zudem auch innerhalb eines "<Files>"-Block einsetzen.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to Apache

Who is online

Users browsing this forum: No registered users and 40 guests