Search squid archive

Re: suppress Generated Wed, 21 Jan 2009 20:01:20 GMT by www.example.org (squid)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 21 January 2009, Amos Jeffries wrote:
> Michael Renner wrote:
> > Moin,
> >
> > I configured squid to send a special 403 page if access is denied:
> > deny_info 403.html all
> > httpd_suppress_version_string on
> >
> > but there is still a line telling the user that there is a squid (or what
> > ever) running? Is there a chance to response only this 404 page? With
> > other words: to suppress the whole line "Generated Wed, 21 Jan 2009
> > 20:09:02 GMT by www.example.org (squid/2.6.STABLE5) "
> >
> > Thanks
>
> Add <!-- %S -->  to your page somewhere.

bummer, this does not work
My 404.html have this content
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<!-- %S -->
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>WWW Server Port 80</address>
</body></html>

but the Generated .... line is still there. An other hint?

Thanks
-- 
|Michael Renner      E-mail: michael.renner@xxxxxx  |
|D-81541 Munich      Germany        ICQ: #112280325 |
|Germany             Don't drink as root!      ESC:wq

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux