HP e-Commerce / XML director server appliance sa8250 - Users Guide
C H A P T E R 6 HP e-Commerce/XML Director Server Appliance SA8250 User Guide
250
Add Servers to the RICH Service
1. To add “serv1” to the rich service, type this command:
HP SA8250/config/policygroup/xml/service/
rich#server create serv1.prime.com port 80
Server serv1.prime.com port 80 has been created.
This tells the SA8250 that serv1.prime.com can fulfill requests
arriving at 30.1.1.201 on port 80.
2. To move the prompt to the server level, type this command:
HP SA8250/config/policygroup/xml/service/
rich#server serv1.prime.com port 80
Add Expressions to serv1's Configuration
1. Finish the configuration by adding expressions to server
Serv1.com to differentiate content by typing these commands:
HP SA8250/config/policygroup/xml/service/rich/
server/serv1.prime.com/port/80#xmlpattern create
*.html
HP SA8250/config/policygroup/xml/service/rich/
server/serv1.prime.com/port/80#xmlpattern create
*.jpg
HP SA8250/config/policygroup/xml/service/rich/
server/serv1.prime.com/port/80#xmlpattern create
*.gif
2. To verify the setup of serv1.prime.com, type this command at the
prompt:
HP SA8250/config/policygroup/xml/service/rich/
server/serv1.prime.com/port/80/xmlpattern#info
Policy group:xml
Service:xml
Server Name: serv1.prime.com
Status Port Type Weight Mode MSAP 606 HTTP
------------------------------------------------
Active 80 Primary 1 BROKERED Off Off Off
Index Pattern
1 *.html
2 *.jpg
3 *.gif