Squid Error
Squid Configuration :-
************************************ acl test dstdomain "/home/deepak/sites/" # And finally deny all other access to this proxy http_access deny test http_access allow all ************************************ when I am trying to start squid service, getting below error...........startokfile is available, where in the conf mentioned ************************************* [root@deepak deepak]# /etc/init.d/squid restart Stopping squid: 2008/09/17 05:07:55| strtokFile: /home/deepak/sites/ not found 2008/09/17 05:07:55| aclParseAclLine: IGNORING invalid ACL: acl test dstdomain "/home/deepak/sites/" 2008/09/17 05:07:55| squid.conf line 1864: http_access deny test 2008/09/17 05:07:55| aclParseAccessLine: ACL name 'test' not found. 2008/09/17 05:07:55| squid.conf line 1864: http_access deny test 2008/09/17 05:07:55| aclParseAccessLine: Access line contains no ACL's, skipping . [ OK ] Starting squid: . [ OK ] [root@deepak deepak]# please solve me out, I am in problem, please help me out. Thanks, Deepak |
I ain't dabbled with squid too much beyond bog-standard configuration so I could be wrong but the following line:
Quote:
This is given away by: Quote:
|
see, I want to make an allow and deny file. in which want to write add allow domains and deny domains. not directly mention domain name in the squid.cnf file. because I have so many domains.
|
Howzit man
YOu need to remove the last / from your config line ************************************ acl test dstdomain "/home/deepak/sites/" # And finally deny all other access to this proxy http_access deny test http_access allow all ************************************ |
Hi linuxgurusa,
Now Working fine :-) Thank You very Much, for the helping. Thanks; |
Quote:
|
All times are GMT -5. The time now is 08:19 PM. |