firefix Posted July 22, 2005 Share Posted July 22, 2005 salut à tous , j'essaye de configurer squidGuard mais j'ai un probleme avec le fichier squidGuard.cgi.J'utilise ce squidGuard.cgi : http://ftp.teledanmark.no/pub/www/proxy/sq.../squidGuard.cgi Les options configurables sont comme ceci : # CONFIGURABLE OPTIONS: # @supported = ( # "en", "fr", "de", "nl", "no" etc. "fr (Français),", "en (English),", "de (Deutsch),", "nl (Nederlands),", "no (norsk)." ); $image = "/images/blocked.gif"; # RELATIVE TO DOCUMENT_ROOT $redirect = "http://192.168.1.2:88/images/blocked.gif"; # "" TO AVOID REDIRECTION $proxy = "bsd2.mydomain"; # $proxymaster = firefix@mydomain; # $autoinaddr = 2; # 0|1|2; J'ai cree un repertoire "/usr/local/www/data/images" mais je n'ai pas d'image appelé "blocked.gif" , je ne sais pas où elle est. Et quand je lance le script cgi , le script ne marche pas et j'ai ca dans les logs d'apache : [Fri Jul 22 18:55:24 2005] [error] [client 192.168.1.3] Premature end of script headers: squidGuard.cgi Est-ce que vous voyez ce qui ne va pas ? Link to comment Share on other sites More sharing options...
fubiga Posted July 27, 2005 Share Posted July 27, 2005 crees un gif bidon et appeles le /usr/local/www/data/images/blocked.gif et noublies pas les droits: un ti chown apache.apache /usr/local/www/data/images/blocked.gif et hop Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.