httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Anton Mitterer <cales...@scientia.net>
Subject Re: [users@httpd] how to use ProxyPassReverse* with more complex a ProxyPassMatch
Date Sun, 09 Dec 2012 15:22:05 GMT
Hi Brian.

On Sun, 2012-12-09 at 07:48 -0600, Brian Millett wrote:
>   <Location "/helpdesk">
>      <LimitExcept POST GET PUT>
>           Require all denied
>      </LimitExcept>
>      DirectoryIndex logon.jsp
>      RewriteEngine On
>      RewriteRule \.(pl|php|cgi) - [QSA,PT,L]
>      RewriteRule \.(jpg|jpeg|gif|png|html)$ - [QSA,PT,L]
>      RewriteRule ".*/WEB-INF/?.*" - [L,F,NC]
>      RewriteRule \.(jsp|jspx|do) "http://localhost:8080%{REQUEST_URI}" [QSA,P,L] 
>      RewriteRule ".*/servlet/.*" "http://localhost:8080%{REQUEST_URI}" [QSA,P,L] </Location>
>   <Location "/helpdesk">

AFAICS, this is just the "normal" reverse-proxying which I already set
up with ProxyPassMatch... what I was talking about is what the
ProxyPassReverse* directives do, e.g. rewriting of Location,
Content-Location headers and of cookies.

AFAIK, RewriteRule [P] doens't do this.


Cheers,
Chris.

Mime
View raw message