HP e-Commerce / XML director server appliance sa8250 - Users Guide
C H A P T E R 6 SA8250 Scenarios
251
3. To add “serv2” to the rich service, type these commands:
HP SA8250/config/policygroup/xml/service/rich/
server/serv1.prime.com/port/80#back
HP SA8250/config/policygroup/xml/service/rich/
server#create serv2.prime.com port 80
4. To move the prompt, type this command:
HP SA8250/config/policygroup/xml/service/rich/
server#serv2.prime.com port 80
Add an Expression to serv2's Configuration
1. Now add an expression to differentiate serv2's content from that
of serv1 by typing this command. In this example, serv2
contains CGI content:
HP SA8250/config/policygroup/xml/service/rich/
server/serv2.prime.com/port/80#
xmlpattern create /cgi-bin/*
2. To verify the setup of serv2, type this command at the prompt:
HP SA8250/config/policygroup/xml/service/rich/
server/serv2.prime.com/port/80/xmlpattern#
info
Policy group:xml
Service:xml
Server Name: serv2.prime.com
Status Port Type Weight Mode MSAP 606 HTTP
------------------------------------------------
Active 80 Primary 1 BROKERED Off On Off
Index Pattern
1 /cgi-bin/*
The SA8250 now directs requests to specific servers according to
the content requested. serv2 receives requests entailing CGI
scripts (files located in the
/cgi-bin directory), while all other
requests go to serv1.