[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Network Troublshooting  |  Linux Proxy Server Support  |  Topic: custom ERROR pages on SQUID
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: custom ERROR pages on SQUID  (Read 4808 times)
0 Members and 1 Guest are viewing this topic.
clmorre
Linux Noob !
*
Offline Offline

Posts: 8


View Profile
« on: April 28, 2006, 04:53:56 AM »

I have successfully blocked some sites, and when the user access a blocked site this will display on their screen"
ERROR
The requested URL could not be retrieved
                              --------------------------------------------------------------------------------

While trying to retrieve the URL: http://rds.yahoo.com/_ylt=A0geupouzVFELS0BfmpXNyoA/SIG=11i41fj3h/EXP=1146298030/*-http%3A//search.yahoo.com/search?

The following error was encountered:

Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

Your cache administrator is root.



--------------------------------------------------------------------------------

Generated Fri, 28 Apr 2006 08:54:53 GMT by www.xxxx.com(squid/2.5.STABLE1) ERROR The requested URL could not be retrieved".


Is their a way that I can change the display?Please help me.tnx. :lol:
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 597


View Profile
« Reply #1 on: April 28, 2006, 07:27:35 AM »

Ya you can change the display

By default squid display errors from
/etc/squid/errors/ directory

By Default , This error comes from this page /etc/squid/errors/ERR_ACCESS_DENIED

You have 2 options in this :

1. You can make changes in this page, if u know HTML

2.delete /etc/squid/errors/ERR_ACCESS_DENIED
page using
#rm /etc/squid/errors/ERR_ACCESS_DENIED

Make any page  using  script languages like HTML etc and  rename that page to ERR_ACCESS_DENIED

:-U can write this in ur new page(named ERR_ACCESS_DENIED )  if u wana test

<html>

<body><h1>

THE REQUESTED PAGE IS BLOCKED

</h1> </body>
</html>

After that this page will appear


Cheers
Gaurav
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Squid Configuration Error Linux Servers Support linuxgirl 1 1142 Last post October 23, 2004, 05:30:38 AM
by Ricky
squid compiling error Linux Proxy Server Support shani 4 1034 Last post April 16, 2005, 03:37:07 AM
by tomamodi
squid compiling error Linux Proxy Server Support shani 1 621 Last post January 14, 2005, 05:48:24 AM
by Ricky
got error when i run squid -z commond Linux Proxy Server Support abidch 10 1180 Last post August 20, 2005, 01:15:34 AM
by abidch
I need to access FTP web pages Linux Proxy Server Support Nandhakumar2008 1 568 Last post February 20, 2008, 09:47:59 AM
by Ricky
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 05:24:08 PM

Login with username, password and session length
Navigation
Recent Discussions
[Today at 02:29:08 PM]

[November 20, 2008, 11:30:52 PM]

[November 19, 2008, 07:52:41 PM]

[November 19, 2008, 07:52:36 PM]

[November 17, 2008, 10:42:59 AM]

[November 16, 2008, 12:49:47 AM]

[November 16, 2008, 12:48:58 AM]

[November 15, 2008, 08:29:02 AM]

[November 15, 2008, 08:24:41 AM]

[November 14, 2008, 05:11:50 AM]
Members
Total Members: 6229
Latest: razon_nnn
Stats
Total Posts: 8270
Total Topics: 2254
Online Today: 14
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 9
Total: 9
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc