HTTP Redirect Agent Properties
This agent handles redirects to other web servers. A file needs to be provided which lists the URIs which to redirect and what URIs they should be redirected to.
service_name
This property tells the agent what name to register itself as. If a PropsListServiceManager is used, this name must be in the form of extension:// followed by a regular expression matching a domain:port. By default, this property is set to extension://.* which matches all domains and all ports.
redirect_file
This property tells the agent where to find the redirect file. The redirect file provides a list of
URIs and where they should be redirected to. Here is an example of a redirect file:
/redirect_me/some_file.html=http://redirect_desitation:1099/new_place/redirected_file.html
/redirect_me_too=http://redirect1:9000/
/redirect_me_too=http://redirect2:9000/
/redirect_me_too=http://redirect3:9000/
When a browser tries to access /redirect_me/some_file.html, the request will
be given to this agent, it will return a response for a redirect telling the browser to go to
http://redirect_destination:1099/new_place/redirected_file.html.
When a browser tries to access /redirect_me_too, the agent will return a response
telling the browser to go to http://redirect1:9000/, if I access it a second time,
the agent will tell my browser to go to http://redirect2:9000/, the third
time it will tell my browser to go to http://redirect3:9000/, and the fourth,
http://redirect1:9000/, and so on. By default, this property is set to
./http.redirect.
check_interval
The HTTPRedirectAgent has an internal check where it pings the web servers on the redirect list. If they are not responding, that web server will be removed from the redirect list temporarily. It will be added once the HTTPRedirectAgent pings it and it is responding. By default, this value is set to 300000, which means every 300000 milliseconds, it will check every redirect destination on its list.
initial_wait_time
This property tells the agent how long to wait before it starts to checking the redirect destinations. In the case where you are redirecting to yourself, you will need to wait until the WebServer is fully initalized and running before the agent should start pinging it. By default this property is set to 60000, which means it will wait 60000 milliseconds before it starts checking.
Description: How to configure a HTTP redirect agent.
Updated: Tue May 20 19:22:08 EDT 2008