Web Servers General Talk - Apache reverse proxy

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers General Talk > May 2004 > Apache reverse proxy





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Apache reverse proxy
paul b

2004-05-19, 7:34 am

Hello,
I am installing a reverse proxy on Apache. For basic cases, everything
works fine. When I do a simple redirection, like for example
ProxyPass /server/ https://141.220.200.46/
ProxyPassReverse /server/ https://141.220.200.46/
no problem.

I also succeeded doing a "redirection" to a script like for example:
ProxyPass /server/ https://141.220.200.46/index.php
ProxyPassReverse /server/ https://141.220.200.46/index.php
again, this works, I see the page.

My goal is now to pass additional parameters to index.php in sort:
ProxyPass /server/ https://141.220.200.46/index.php?URL=server
ProxyPass /mail/ https://141.220.200.46/index.php?URL=mail
....

as soon as I pass a parameter to the page, I receive an error that the
page does not exist.

For this reason, my question is now:
Is it possible to redirect on the reverse proxy to a page and pass a
parameter to thisone?
If yes, how can it be done?

Many thanx in advance.
CB
Davide Bianchi

2004-05-19, 7:34 am

In alt.apache.configuration paul b <bisibis@pt.lu> wrote:
> My goal is now to pass additional parameters to index.php in sort:


You'll need mod_rewrite for this
Davide


--
| Ignisecond, n.: The overlapping moment of time when the hand is
| locking the car door even as the brain is saying, "my keys are in
| there!" -- Rich Hall, "Sniglets"
|
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com