home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-tomcat-addon-1.4.9-installer.exe / rules.xml < prev    next >
Encoding:
Extensible Markup Language  |  2004-08-28  |  741 b   |  19 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <rules>
  3.   <!-- If the URL contains News (case-sensitive), go to CNN.com -->
  4.   <rule className="org.apache.webapp.balancer.rules.URLStringMatchRule"
  5.     targetString="News"
  6.     redirectUrl="http://www.cnn.com" />
  7.  
  8.   <!-- If the request contains a parameter named paramName whose value
  9.        is paramValue, go to Yahoo.com. -->
  10.   <rule className="org.apache.webapp.balancer.rules.RequestParameterRule"
  11.     paramName="paramName"
  12.     paramValue="paramValue"
  13.     redirectUrl="http://www.yahoo.com" />
  14.  
  15.   <!-- Redirect all requests to jakarta.apache.org. -->
  16.   <rule className="org.apache.webapp.balancer.rules.AcceptEverythingRule"
  17.     redirectUrl="http://jakarta.apache.org" />
  18. </rules>
  19.