Using ZXTM with htaccess authenticationYou have a fully operational authoriser system in place for validating URL access. This forces all client IPs to provide their username/password details before the webserver will authorize their connection. You wish to let certain, trusted, users access your website without providing login credentials. SolutionPreparationWithin $ZEUSHOME/zxtm/conf/extra you will need to create a text file called trusted_ips.txt.
Make sure the file permissions are correct for ZXTM to read it:
Edit this file, using your favourite text editor. Within this file enter your list of space separated trusted IP addresses. Our file reads like this:
Let's add the below trafficscript to a response rule:
The above TrafficScript rule uses the resource.get function to read the contents of the above file containing a list of permitted IP addresses. If the client IP address is contained within the file, the user is automatically authenticated. If not, user is requested to input their authentication details. |
Recently...
Other Resources
|






