LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-19-2012, 05:31 AM   #1
mail2ganesh.cse
Member
 
Registered: Apr 2012
Posts: 63

Rep: Reputation: Disabled
Post 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]#
 
Old 04-19-2012, 09:00 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,899

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
Hi,

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

Regards
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Image slicing/splicing for HTML & CSS coding verori Linux - Newbie 2 11-17-2011 10:20 AM
Postscript - how to insert an image? BrianK Programming 3 07-12-2007 06:47 PM
LXer: Firefox Add-ons: Coding in a Tunnel LXer Syndicated Linux News 0 06-26-2007 12:46 AM
[Latex] Insert image before titlepage chief_officer Linux - Software 4 06-25-2006 12:54 PM
perl script to insert image information rhuser Programming 1 03-12-2003 05:23 AM


All times are GMT -5. The time now is 09:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration