update_auth — update the external content cache .htaccess files
use Wacs;
scalar update_auth( | ...) ; |
parameter | description |
---|---|
source | The comma seperated list of files to use for deriving the auth information - if not specified, defaults to the wacs.acl permanent file and the leases.acl temporary leases files. |
dest | The comma seperated list of directories in which to place the
generated authorised IP addresses list. If not specified, it checks the
configuration variable cachelist in the security
section of the configuration file, and if that's empty, it finally uses
the values for contenti and contentv
in the fsloc section. |
format | The desired output format - a present the only acceptable value
is apache2_htaccess (which is the default) but other
options might be available in future. |