httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] ProxyPass redirects the request
Date Mon, 21 Jul 2008 13:46:34 GMT
On Sun, 20 Jul 2008 19:19:07 -0700
"Mohammad Kargar - Indicee" <MohammadK@indicee.com> wrote:

> Does anybody know what I'm missing here?

http://www.apachetutor.org/admin/reverseproxies

> ProxyPass /mytest/ http://www.backend.com/
> 
> ProxyPassReverse /mytest/ http://www.backend.com/

That's only part of the story.  If (as Joshua suggests)
you've got a javascript redirect, it can be seriously
challenging: you'll need mod_proxy_html's ProxyHTMLExtended
(for script embedded in HTML), or one of the sed-like
filters (mod_sed, mod_substitute, mod_line_edit) if
it's in a separate .js file.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message