Hello all,
I'm needing to redirect the users requests, if a condition defined by my needs
are not ok. For an example: if the user try to access http://www.somewhere.com, the
squidGuard redirects to: http://www.mydomain.com/blabla.cgi (an authentication
application) if the user isn't authenticated.
I've tried the follow, to test squidGuard:
logdir /usr/local/squidGuard/log
dbhome /usr/local/squidGuard/db
src privileged {
ip 192.168.8.20 # An authorized IP
}
acl {
privileged {
pass all # Ok, they go.
}
default {
pass none # Ops, unauthenticated Ip... They must go to the authenticate
application...
redirect http://mymachine.mydomain.com/cgi-bin/authenticate.cgi
}
}
I've created the directory log and the db(and I dont know why the db must be
create). When I try to access something ( from 192.168.8.20, its all Ok. But when I
try from another machine, the url field (in the browser) shows me:
www.whatitry.com/cgi-bin/authenticate.cgi and not
http://mymachine.mydomain.com/cgi-bin/authenticate.cgi
What wrong I'm doing?
Thans
Sorry my trash english.
[]s
Fernando Giorgetti