Bruno Pina wrote: > > I wrote a few days ago asking for help �cause every time i try to > access a porn web page i receive as answer the follow message: > > While trying to retrieve the URL: http://localhost/cgi-bin/squidGuard.cgi? > The following error was encountered: > Access Denied. > Access control configuration prevents your request from being allowed > at this time. Please contact your service provider if you feel this > is incorrect. > Your cache administrator is webmaster.
Does the redirect statement in your squidGuard.conf file actually contain "http://localhost/cgi-bin/squidGuard.cgi?"? You'll need to point that to your web server instead of localhost if you want it to work for all users. > I already verify my permissions and also verify the httpd.conf and > everything seems right. I saw at apache configuration documentation > that all is needed to execute a cgi script is the following line at > the httpd.conf : > ScriptAlias /cgi-bin/ /var/www/cgi-bin > > I�ll appreciate any kind of help. > Thanks a lot, Apache Tutorial: Dynamic Content with CGI http://httpd.apache.org/docs-2.0/howto/cgi.html In addition to the ScriptAlias directive, I have an .htaccess file in /var/www/cgi-bin/ that contains "Options ExecCGI". Scroll down to "But it's still not working!" <http://httpd.apache.org/docs-2.0/howto/cgi.html#troubleshoot> Listed there are "four basic things that you may see in your browser when you try to access your CGI program from the web." Yours falls into the 3rd category, "A message starting with "Forbidden"". The advice given is: "That means that there is a permissions problem. Check the Apache error log and the section below on file permissions." What message did you find in the Apache error log? Hope that helps. Rick Matthews
