Tim Litwiller <[EMAIL PROTECTED]> wrote:

>ok, I found the problem and it comes directly from squidGuard it's self
>the squidGuard.conf file has
>redirect
>http://localhost/cgi-bin/blocked.cgi?clientaddr=%a&clientname=%n&clientuser
=%i&clientgroup=%s&url=%u
>
>and that doesn't seem to work on an e-smith box


Hmm... on my 4.0.1 the redirection works like a charm - the images are not
there to be found, but this is another story, the blocked.cgi is executed.

It seems an Apache configuration issue... Is your system a 4.1.x?

E-Smith should have Lynx installed: try this commands:

    lynx http://localhost/

you should see your E-Smith home page in character mode. If not, try

    lynx http://127.0.0.1/

If you see the home page, there is something strange in the network config
(/etc/hosts, perhaps?). Try a ping localhost to see if it works...

If you don't see the E-Smith home page, chances are that you see a Red Hat
Welcome page: in this case, I guess there's something missing in the Apache
configuration. Is the VirtualHost 127.0.0.1 definition present in
/etc/httpd/conf/httpd.conf?

If it is not there, is this lack intended in 4.1.1?

As I see it, both the commands

    lynx http://localhost/cgi-bin/blocked.cgi
    lynx http://127.0.0.1/cgi-bin/blocked.cgi

must display the "access denied" page in character mode...

--

Pierluigi Miranda

Reply via email to