Search squid archive

Re: Redirection on error.

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

 



Hi,

I was hoping to replace the ERR_ACCESS_DENIED page with a logon page
which could authenticate the user against a password. It doesn't need
to be very secure.

The problem is that the logon page cannot call the required CGI
scripts from /usr/local/squid/share/errors/English/

Attempting to place the logon page in "/var/www/apache2-default/"
using "deny_info /var/www/apache2-default/login.html ipauthACL"
generates this error:


2008/03/12 13:33:33| errorTryLoadText:
'/usr/local/squid/share/errors/English//var/www/apache2-default/login.html':
(2) No such file or directory

Using "deny_info http://localhost/login.html ipauthACL" or "deny_info
http:/192.168.60.254/login.html ipauthACL" appears to work, but
subsequent calls to (say) "cgi-bin/auth.pl" are appended onto the
original URL. For example, if the user requests "www.toyota.co.za",
"www.toyota.co.za/cgi-bin/auth.pl" is returned.

Is there any way of modifying this behavior?

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux