I'm using squid proxy sever on my ubuntu 12.04 LTS. Where is the error page location so that I can customize it..
If you do not have a configured
error_directory as mentioned,
squid -v will report your version of squids compile time options.
The following options will impact the path to the error templates:
--prefix=PREFIX install architecture-independent files in PREFIX [/usr/local/squid] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
The following will impact which error templates are rendered:
--disable-translation Prevent Squid generating localized error page --disable-auto-locale This prevents Squid providing localized error pages
So you end up with
PREFIX/DATADIR/errors/templates as the default or
Locale can be based on the clients request if using a recent version of Squid or yours was compiled with
--enable-auto-locale for older versions (3.1)
error_default_language config option can be involved as well.
templates directory is the fallback.
I think this holds true for squid 3.x. Not so sure about 2.x
Error page location is set by the