On Sun, 24 Mar 2002, Adam Hewitt wrote: > please tell me which files may be setup incorrectly in order to give me > access...I have added the following to my srm.conf file: > > ScriptAlias /cgi-bin/ /usr/local/cgi-bin/ > > and this to my access.conf file: > > <Location /Squid/cgi-bin/cachemgr.cgi> > order deny,allow > deny from all > allow from 192.168.0.1 > </Location>
I've never installed squid before, but something doesn't look right here... There should be something matching up in what you've added to both files. Check exactly where cachemgr.cgi is on the harddisk. >From what I see above, I'm expecting it will be in /usr/local/cgi-bin, in which case the scriptalias line is wrong. Try this line instead: ScriptAlias /Squid/cgi-bin/ /usr/local/cgi-bin/ It is also possible that apache just isn't set up to allow cgi scripts. There is fairly good comments in the apache config files, but look for a line something like "ScriptHandler .cgi" ... It's probably commented out. Delete the hash sign in front and restart apache. Another possibility is that you're not getting through the 'allow from' filter. is 192.168.0.1 your local machine? TCP/IP connections within your local machine usually end up being from 127.0.0.1, rather than the address of your ethernet card. I might be able to come up with some more ideas. Let me know how you go. -- Jessica Mayo. (Everything with a Grin :) -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
