Hi !
Well, the setup is a bit confusing, but i'll try to explain it at the best:
assume we have 3 boxes, 1 entry box with 2 nics, running 3 apaches - one is the rproxy and
handles all virutal hosts and redirects the traffic to the the two backhand masters on the
same machine (running on the internal nic). one backhand master is responsible for
the scripts and the other is responsible for static content. both backhand masters talk
with the other 2 boxes and distibute the traffic to them.
the other two boxes each have 2 apaches running, one for scripts and the other for static content.
what i want to do is to get the script load off of the entry box and strip down this backhand
server to not be able to process any scripts (because this machine is not as fully blown
as the other two) and to redirect the script traffic only to the other two boxes.
the first step is to use byHostname and redirect the requests only to the other two boxes.
this works of course - as long as the other two boxes are living, but if they are dead the
backhand master tries do this itself and the scripts get out unparsed as text/plain - and
that's of course _not_ what i want :)
so the question is if it's possible to configure backhand that it's returning a 403 Forbidden
(or any other error) in case it is not able to backhand the request to another machine, to be
able to fully block access to the local machine if backhand is not working.
a simple <LocationMatch pattern> denies pattern in any case ....
well, thanks for any ideas,
marcus.
--
________________________________________________________________________
ICAN Internet Services GmbH - www.ican.at Marcus Priesch
Loquaiplatz 12/1, A-1060 Vienna mpriesch@ican.at
Tel: +43(1) 595 41 24/26 Fax: +43(1) 595 41 24/99 ICQ: 56430787
Well, the setup is a bit confusing, but i'll try to explain it at the best:
assume we have 3 boxes, 1 entry box with 2 nics, running 3 apaches - one is the rproxy and
handles all virutal hosts and redirects the traffic to the the two backhand masters on the
same machine (running on the internal nic). one backhand master is responsible for
the scripts and the other is responsible for static content. both backhand masters talk
with the other 2 boxes and distibute the traffic to them.
the other two boxes each have 2 apaches running, one for scripts and the other for static content.
what i want to do is to get the script load off of the entry box and strip down this backhand
server to not be able to process any scripts (because this machine is not as fully blown
as the other two) and to redirect the script traffic only to the other two boxes.
the first step is to use byHostname and redirect the requests only to the other two boxes.
this works of course - as long as the other two boxes are living, but if they are dead the
backhand master tries do this itself and the scripts get out unparsed as text/plain - and
that's of course _not_ what i want :)
so the question is if it's possible to configure backhand that it's returning a 403 Forbidden
(or any other error) in case it is not able to backhand the request to another machine, to be
able to fully block access to the local machine if backhand is not working.
a simple <LocationMatch pattern> denies pattern in any case ....
well, thanks for any ideas,
marcus.
--
________________________________________________________________________
ICAN Internet Services GmbH - www.ican.at Marcus Priesch
Loquaiplatz 12/1, A-1060 Vienna mpriesch@ican.at
Tel: +43(1) 595 41 24/26 Fax: +43(1) 595 41 24/99 ICQ: 56430787