Re: Squid + SquidGuard : static block page not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Le 14/03/2018 à 14:40, m.roth@xxxxxxxxx a écrit :
> Stupid questions:
>    0. Does http://nestor.microlinux.lan/avertissement.html exist?
>    1. What are its ownership and group?
>    2. Can Apache access that directory and file?
> 
>     mark

OK, I found the solution. Apparently I have to use a different syntax.

acl {
  admin {
    pass any
  }
  default {
    pass none
    redirect 302:http://nestor.microlinux.lan/avertissement.html
  }
}

Prefixing the block page URL with 302: did the trick.

Cheers,

Niki

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Blog : https://blog.microlinux.fr
Mail : info@xxxxxxxxxxxxx
Tél. : 04 66 63 10 32
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux