|
/
Zope
/
Apsis
/
Pound Mailing List
/
Archive
/
2010
/
2010-12
/
Redirection problem
[
e500 response error read from ... Unknown error: ... ]
[
Website stalls every 60 seconds / Steven van der ... ]
Redirection problem
"Ament, Andreas" <Andreas.Ament(at)avr-rnk.de> |
2010-12-09 10:23:39 |
[ FULL ]
|
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=2
Could anyone give me a configuration example ?
Best Regards
Andreas
Mit freundlichen Grüßen
i.A.
Andreas Ament
AVR Abfallverwertungsgesellschaft des Rhein-Neckar-Kreises mbH
Kaufmännischer Bereich, Organisation / EDV
Muthstr. 4
74889 Sinsheim
Telefon: 07261-931-241
Fax: 07261-931-7241
E-Mail: <mailto:Andreas.Ament(at)avr-rnk.de>
Internet: <http://www.avr-rnk.de/>
Sitz der Gesellschaft: 74889 Sinsheim
Registergericht Mannheim HRB 340901
Geschäftsführer: Alfred Ehrhard
Vorsitzender des Aufsichtsrats: Stefan Dallinger
|
|
|
Re: [Pound Mailing List] Redirection problem
Dave Steinberg <dave(at)redterror.net> |
2010-12-09 15:47:23 |
[ FULL ]
|
On 12/9/2010 4:23 AM, Ament, Andreas wrote:[...]
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,[...]
|
|
|
AW: [Pound Mailing List] Redirection problem
"Ament, Andreas" <Andreas.Ament(at)avr-rnk.de> |
2010-12-15 15:36:26 |
[ FULL ]
|
Hi,
it doesn't work. I think there is a loopback in the redirection.
But my request was false, too.
The user should be directed to http://www.name1.de/index.php?article_id=2
I changed the redirection clause to
"Redirect http://www.name1.de/index.php?article_id=2"
and now it works for me.
Thanks.
Regards
Andreas
Mit freundlichen Grüßen
i.A.
Andreas Ament
AVR Abfallverwertungsgesellschaft des Rhein-Neckar-Kreises mbH
Kaufmännischer Bereich, Organisation / EDV
Muthstr. 4
74889 Sinsheim
Telefon: 07261-931-241
Fax: 07261-931-7241
E-Mail: <mailto:Andreas.Ament(at)avr-rnk.de>
Internet: <http://www.avr-rnk.de/>
Sitz der Gesellschaft: 74889 Sinsheim
Registergericht Mannheim HRB 340901
Geschäftsführer: Alfred Ehrhard
Vorsitzender des Aufsichtsrats: Stefan Dallinger
-----Ursprüngliche Nachricht-----
Von: Dave Steinberg [mailto:dave(at)redterror.net]
Gesendet: Donnerstag, 9. Dezember 2010 15:47
An: pound(at)apsis.ch
Betreff: Re: [Pound Mailing List] Redirection problem
On 12/9/2010 4:23 AM, Ament, Andreas wrote:[...]
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,[...]
|
|
|
|