Re: [squid-users] cachemgr.cgi - display raw text

From: Ming-Ching Tiew <[email protected]>
Date: Thu, 12 Jul 2007 17:02:15 +0800

From: "Ming-Ching Tiew" <mingching.tiew@redtone.com>
>
> it (correctly) display the formatted html text asking
> me for name and password, and but when I click
> continue it displayed this text on the browser rather than
> formatted html, it looks to me there are extra text in front
> of the output which confuses the browser.
>

I worked around the problem by doing this in a new cgi :-

# cat cmgr.cgi

#!/bin/sh
/mnt/squid/libexec/cachemgr.cgi | sed -e '1,8d'

Everything works perfectly after this.

Regards.
Received on Thu Jul 12 2007 - 03:02:29 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT