Add Image Squid Error Page
Contents |
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media squid error page location Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu
Customize Squid Error Page
Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud squid error could not send signal 0 to process and Juju Server Platforms [all variants] how to add images on squid error pages? Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report squid error negotiating ssl connection it, thanks ! Results 1 to 5 of 5 Thread: how to add images on squid error pages? Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode April 27th, 2010 #1 X1R1 View Profile View Forum Posts Private Message Way Too Much Ubuntu Join Date Apr 2009 Location Costa Rica Beans 255 DistroUbuntu 10.04 Lucid Lynx how to add images on squid error pages? well,
Squid Error 1067
title says it all. I want that squid error pages have the company logo. I edited the page called ERR_ACCESS_DENIED but the image doesn't show (image its in the same directory as ERR_ACCESS_DENIED). I tried png and gif formats to no avail. Any tips? Also I found this but I don't get what the writer is saying so I cant do it. http://www.creative.net.au/evil/squi...ge_pages.shtml regards and thanks in advance for the help Linux User#498977 There are only 10 types of people in the world. Those who understand binary, and those who dont. My Blog about Linux and other stuff Adv Reply April 27th, 2010 #2 Ilalmi View Profile View Forum Posts Private Message Just Give Me the Beans! Join Date Nov 2009 Location Cork, Ireland Beans 53 DistroKubuntu 9.10 Karmic Koala Re: how to add images on squid error pages? As I understand it, you have to do the following: Put your image file into /usr/share/squid/icons/Add the following line to /usr/share/squid/mime.conf: Code: \.uwaicon1$ application/uwa-image-1 yourimagefile.gif Put the link into the html code of your error page: Code: restart squid Adv Reply April 28th, 2010 #3 X1R1 View Profile View Forum Posts Private Message Way Too Much Ubuntu Join Date Apr 2009 Location Costa Rica Beans 255 DistroUbuntu 10.04 Lucid Lynx Re: how to add images on squid error pages?
all there, I want to customize my error pages in ubuntu... squid error no forward-proxy ports configured i want to add my company logo there. i did it squid error the requested url could not be retrieved but it is not working.... just message is showing but image did not show. Image
Squid Error No Running Copy
is in same directory where error pages are... How i can do it please suggest....! Thanks Khurram Last edited: Mar 27, 2010 Khurram, Mar 27, https://ubuntuforums.org/showthread.php?t=1463414 2010 #1 falko Super Moderator ISPConfig Developer Please take a look at the source code of the error page - is the image path correct? falko, Mar 29, 2010 #2 (You must log in or sign up to reply here.) Show Ignored Content Share This Page Tweet Log in with Facebook Log https://www.howtoforge.com/community/threads/how-to-insert-image-in-squid-error-pages.44382/ in with Twitter Log in with Google Your name or email address: Do you already have an account? No, create an account now. Yes, my password is: Forgot your password? Stay logged in Sign up now! Forum Statistics Discussions: 53,353 Messages: 282,958 Members: 91,580 Latest Member: a.zubar Share This Page Tweet Howtoforge - Linux Howtos and Tutorials Home Forums > Linux Forums > Server Operation > English | Deutsch Tutorials Tags Forums Forums Quick Links Search Forums Recent Posts Members Members Quick Links Notable Members Current Visitors Recent Activity New Profile Posts Contribute Subscribe ISPConfig News Menu Search Search titles only Posted by Member: Separate names with a comma. Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More... Xenforo skin by Xenfocus Contact Us Help Imprint Home Top RSS Terms and Rules Forum software by XenForo™ ©2010-2014 XenForo Ltd. Tac Anti Spam from Surrey Forum
Sun, 2 Mar 2003 13:38:54 +1000 Henrik Perhaps I am not understanding something about this. I use transparent proxying. I tried to provide a custom GIF image on error pages by using a http://www.squid-cache.org/mail-archive/squid-users/200303/0020.html URL as you describe, and editing the error pages so they contain the image tags. However, the images are proxied. If the proxy says "access denied" the images is not available to the user, and so do not display. http://squid-web-proxy-cache.1019090.n4.nabble.com/Custom-error-pages-td1019794.html As a result of this problem I simply removed my custom images. You seem to be contradicting what I observed. While I was doing this I added some extra % tags to the replacement on the error pages, and squid error some corresponding tags in squid.conf. That made it easier to make the changes. I guess it would be possible not to apply the access controls to the images used for the error pages. Gary Price ICT ----- Original Message ----- From: "Henrik Nordstrom"
Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Custom error pages Hello everyone: I have two questions and I was wondering what could I do... one: Is possible to use a css file with my error pages? I wanna give a nice output these pages. two: Could I load some pics? jpg or png? I wanna use my logo. Of course I already tried both things and I couldn't. I can't use my style.css file :S . And I can see the images even if I use full path. Any idea would be great... Regrets. Omar M. Chris Robertson-2 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Custom error pages Omar M wrote: > Hello everyone: > > I have two questions and I was wondering what could I do... > > one: Is possible to use a css file with my error pages? I wanna give a > nice output these pages. > Yes. > two: Could I load some pics? jpg or png? I wanna use my logo. > Yes. > Of course I already tried both things and I couldn't. I can't use my > style.css file :S . And I can see the images even if I use full path. > What do you mean by "full path"? Using the path on the file system to include images and/or CSS is not going to work (nor would it work on a web server). You need to host them on a web server and reference the full URL. Relative links won't work with Squid, though the referenced elements will be cached if possible. > Any idea would be great... > > Regrets. > > Omar M. > Chris Henrik Nordström Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Custom error pages ons 2007-05-16 klockan 14:50 -0800 skrev Chris Robertson: > Omar M wrote: > What do you mean by "full path"? Using the path on the file s