User Tools

Site Tools


squid:acls

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
squid:acls [2020/04/07 10:39] – [Using the ACLs - http_access] petersquid:acls [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 164: Line 164:
 ===== Custom error pages (deny_info) ===== ===== Custom error pages (deny_info) =====
  
-By default when you deny access the user gets the error page that is stored in the ERR_ACCESS_DENIED file.+By default when you deny access the user gets the error page that is stored in the **ERR_ACCESS_DENIED** file.
  
-But luckily you can define your own custom error pages and display them when you deny certain accesses. A simple example:+But you can define your own custom error pages and display them when you deny certain access A simple example:
  
 <code> <code>
Line 185: Line 185:
 </code> </code>
  
-This will deny access only for the user from the IP address 10.0.5.16 when www.google.com is accessed. +  * This will deny access only for the user from the IP address 10.0.5.16 when www.google.com is accessed. 
- +    As you can see the ACLs admin and google are combined.  In such a combination the last ACL in the line is taken into account for lookups of **deny_info**. 
-As you can see the ACLs admin and google are combined.  In such a combination the last ACL in the line is taken into account for lookups of **deny_info**. +    So it’s important that you define a **deny_info** for the google ACL.
- +
-So it’s important that you define a **deny_info** for the google ACL.+
  
 ---- ----
squid/acls.1586255969.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki