LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   coding to insert the image ons quid (https://www.linuxquestions.org/questions/linux-server-73/coding-to-insert-the-image-ons-quid-940635/)

mail2ganesh.cse 04-19-2012 05:31 AM

coding to insert the image ons quid
 
Hi,
i jst need a code to insert a image for my squid cache access denied for the users.. pls find the below coding for my squid..

acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Blockdomain dstdomain "/etc/squid/blockdomain"
acl BlockSites dstdom_regex "/etc/squid/wordbasis"
acl fullinternet src "/etc/squid/fullinternet"
acl blockinternet src "/etc/squid/blockinternet"
acl allowsiteip src "/etc/squid/allowsiteip"
acl allowskype src "/etc/squid/allowskype"
acl allowsite url_regex -i "/etc/squid/allowsite"
acl CONNECT method CONNECT
acl DenyFile urlpath_regex -i .mp3$ .exe$ .mp4$ .mpeg$ .wav$ .AVI$ .MKV$ .MOV$ .MP4$ .DivX$ .FLV$ .ogg$ .ogv$
acl ipacl url_regex http://[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*
acl numeric_IPs url_regex ^[0-9]+.[0-9]+.[0-9]+.[0-9]+
acl datacenter url_regex "/etc/squid/datacenter"
acl team url_regex 5983
acl skype dstdom_regex ^(([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)|(\[([0-9af]+)?:([0-9af:]+)?:([0-9af]+)?\])):443
acl skype_UA browser ^skype^
acl full_without_social src "/etc/squid/full_without_social"
acl social url_regex -i "/etc/squid/social"
cache deny QUERY
visible_hostname proxy.gtsl.gcl.in
"GET cache_object://etc/squid/access_denied.jpg"
cache_mgr tsgitsupport@gcl.in


[root@gtsl squid]# service squid restart
Stopping squid: 2012/04/19 16:00:12| parseConfigFile: line 2433 unrecognized: '"GET cache_object://etc/squid/access_denied.jpg"'
................ [ OK ]
Starting squid: . [ OK ]
[root@gtsl squid]#

bathory 04-19-2012 09:00 AM

Hi,

Did you try what was suggested in your previous post about the same subject?

Regards


All times are GMT -5. The time now is 06:55 PM.