Mailing List Archive

Antwort: What about HTTPRedirectByName?
Hello List,

in the meanwhile I found the error:

it's called 'HTTPRedirectToName' not 'HTTPRedirectByName'...

Theo, the function on slide 24 of the ApacheCon2000 Presentation is bogus.

Thanks for reading ;-)

Bastian Zacher









Hello List,

I want to deploy a load-balancing enviroment including two webservers.
mod_backhand is running as expected, but I get trouble with the sessions
of our application framework.

In the case mod_backhand have to proxy requests to another node,
this webserver doesn't know anything about the defined session. The
query will obvious fail.

So mod_backhand should not proxy to another node but rather redirect
the incomming querys to the best node. This node have to handle all the
requests as long as the session exists.

I expected the Backhand argument 'HTTPRedirectByName' would help me.
But after editing and restarting the apache will fail:

Starting httpd: Syntax error on line 627 of /etc/httpd/conf/httpd.conf:
HTTPRedirectByName is an unknown Backhand candidacy function.
/usr/sbin/apachectl startssl: httpd could not be started

Here's my conf:

...snip...

<Directory "/">
AllowOverride None
Options None
Order allow,deny
Allow from all
Backhand addSelf
Backhand byAge
Backhand byRandom
Backhand byLoad 1.0
Backhand HTTPRedirectByName %-2S.%-2H
</Directory>
...snap...

I'm using mod_backhand v1.2.2 compiled in apache v1.3.29 on redhat v8.

Is there anything I have misunderstood or forgotten to read?

Thanks for supporting me.


Bastian Zacher


_______________________________________________
backhand-users mailing list
backhand-users@lists.backhand.org
http://lists.backhand.org/mailman/listinfo/backhand-users
Antwort: What about HTTPRedirectByName? [ In reply to ]
Bastian.Zacher@aspect-online.de wrote:

>Hello List,
>
>in the meanwhile I found the error:
>
>it's called 'HTTPRedirectToName' not 'HTTPRedirectByName'...
>
>Theo, the function on slide 24 of the ApacheCon2000 Presentation is bogus.
>
>Thanks for reading ;-)
>
>
I'm too lazy to fix the slide... as it is an image and I don't have the
original presentation anymore :-)

I did, however add a Note: to the bottom of that web page that explains
the mistake.

--
// Theo Schlossnagle
// Principal Engineer -- http://www.omniti.com/~jesus/
// Postal Engine -- http://www.postalengine.com/
// Ecelerity: fastest MTA on Earth