Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Daniel Marte on June 05, 2002, 04:21:06 AM
-
I just installed SuidGuad version 3.1 on SME 5.1.2 and when I try to add a domain to the list using the control panel I get the following error:
Adding "sexy.com" to the untrusted domains file.
Warning: open_basedir restriction in effect. File is in wrong directory in /home/e-smith/files/ibays/squidguard/html/squidguard.php on line 36
Warning: fopen("/home/e-smith/files/ibays/squidguard/cgi-bin/untrusted/domains","a") - Operation not permitted in /home/e-smith/files/ibays/squidguard/html/squidguard.php on line 36
Where do I need to add this domain? DO I need to go to the console directly? Whats the purpose of the panel (using the Server-manager)?
Daniel
-
The panel does not work properly with SME 5.12. The domains list is located in /usr/local/squidGuard/db/trusted. After editing you need to restart squid. I wrote a simple batch file to speed up making changes to the trusted domains and put it in my root directory:
#!/bin/sh
cd /usr/local/squidGuard/db/trusted
pico domains
cd /root
/etc/rc.d/init.d/squid stop
/etc/rc.d/init.d/squid stop
If you do something like this you will need to set the modes to make it executable.
Hope this helps.
Regards,
Tim Hogan