On 12/9/2010 4:23 AM, Ament, Andreas wrote:
Hi,
I would like to reproduce the following scenario with our productive pound 2.2:
Pound listens on Address name1 and directs all traffic to a backend php-server.
Now we have a second domain name2. This traffic has to redirected to a special
place on the same backend php-server.
Example:
If a User hits www.name2.de he should be directly directed to
www.name2.de/index.php?article_id=
Could anyone give me a configuration example ?
Roughly:
Service "name2"
HeadRequire "Host:[ \t]*(www\.)?name2\.de$"
Redirect "http://www.name2.de/index.php?article_id=foo"
End
In other words - the name2 service just redirects the user. The name1
service is what actually handles the backend proxying. Before you ask,
"can't I do the proxying without the redirect in name2?" ... sure, just
use mod_rewrite on the backend and set up name2 the same as name1.
Regards,
--
Dave Steinberg
http://www.geekisp.com/
http://www.steinbergcomputing.com/
http://www.redterror.net/
--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.