[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
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 9671 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: 644


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
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
squid compiling error Linux Proxy Server Support shani 4 1205 Last post April 16, 2005, 03:37:07 AM
by tomamodi
squid compiling error Linux Proxy Server Support shani 1 782 Last post January 14, 2005, 05:48:24 AM
by Ricky
I need to access FTP web pages Linux Proxy Server Support Nandhakumar2008 1 1034 Last post February 20, 2008, 09:47:59 AM
by Ricky
MAN pages in HTML or PDF Miscellaneous ganeshkumar 3 485 Last post June 17, 2009, 12:18:16 AM
by Avin
squid error Linux Proxy Server Support rajeshchaturvedijk 0 297 Last post September 22, 2009, 03:40:22 AM
by rajeshchaturvedijk
Search LS
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 08, 2010, 07:18:07 AM

Login with username, password and session length
Navigation
Recent Discussions
[September 06, 2010, 03:51:09 PM]

[September 06, 2010, 07:59:34 AM]

[September 03, 2010, 11:45:53 AM]

[September 02, 2010, 06:21:15 AM]

[September 02, 2010, 03:14:25 AM]

[August 31, 2010, 08:30:56 AM]

[August 31, 2010, 01:03:31 AM]

[August 31, 2010, 12:53:38 AM]

[August 31, 2010, 12:43:01 AM]

[August 22, 2010, 05:55:23 AM]
Members
Total Members: 7755
Latest: judah_clan
Stats
Total Posts: 9561
Total Topics: 2751
Online Today: 7
Online Ever: 128
(April 10, 2010, 10:24:17 PM)
Users Online
Users: 0
Guests: 11
Total: 11
Privacy Policy| Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Theme & TinyPortal v0.9.8 © Bloc