A URL group definition is a list of one or more URLs (Uniform Resource Locator).
url_group name url url_address
name is the name of the URL group.
url_address is a URL-based filter, specified as protocol://username:password@host:port/path where:
protocol is the transport protocol used. For example, http, ftp, nntp. If no value is specifed, http is used. You can use an asterisk (*) as a wildcard to specify any protocol.
username is the login used to connect to the remote server. Use of a username is optional. You can use an asterisk (*) as a wildcard to specify any username.
password is the password corresponding to the user login. Use of a password is optional. You can use an asterisk (*) as a wildcard to specify any password. The password is ignored for classification purposes.
host is the web server. The value of this filter can be an IP address, host name or domain name. You can use an asterisk (*) as a wildcard to specify any host.
port is the port number. You can use an asterisk (*) to indicate any protocol. If no value is specifed, the default protocol specified in the /etc/services file is used.
path is the path of the URL. You can use an asterisk (*) as a wildcard to include a particular pattern, for example, *.htm. You cannot include more than one asterisk in a path.
The following characters are restricted, and must be entered as an ascii code, preceded by a percent (%) sign:
character |
ascii code |
---|---|
% |
25 |
@ |
40 |
: |
3A |
, |
2C |
# |
23 |
The / character can only be used as part of a path.
url_group web_sun_group url http://www.sun.com/*.html url http://www.sun.com/*.gif url http://*:8080/~mylogin url ftp://ftp.sun.com/*