You configure this section at the libraries useragents level.
To add a new useragent list, use the following command:
Admin@UGOS# create libraries useragentsSpecify the following parameters:
|
Parameter |
Description |
|---|---|
|
name |
Useragent list name. |
|
description |
List description. |
|
url |
If the list is updatable, specify the update URL. |
|
patterns |
Useragent templates. You can find a list of useragents here: http://www.useragentstring.com/pages/useragentstring.php. |
To update an existing list, use the following command:
Admin@UGOS# set libraries useragents <useragent-list-name>Specify the parameters to update. The parameters are listed in the table above. To add new useragents, use the following command:
Admin@UGOS# set libraries useragents <useragent-list-name> + [ <useragent1> <useragent2> ... ]To delete an entire list of useragents or an individual useragent from it, use the following commands:
Admin@UGOS# delete libraries useragents <useragent-list-name>
Admin@UGOS# delete libraries useragents <useragent-list-name> patterns [ <useragent> ... ]To display information about all existing lists, use the following commands:
Admin@UGOS# show libraries useragentsTo display information about an individual list, specify the useragent list name. To display the contents of a useragent list, use the following command:
Admin@UGOS# show libraries useragents <useragent-list-name> patterns