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

From: Ming-Ching Tiew <mingching.tiew@dont-contact.us>
Date: Thu, 12 Jul 2007 10:11:38 +0800

I am using squid2.6 stable13, kernel 2.6.18 and tproxy and
uclibc 0.9.28.

I am using httpd from busybox 1.4.2, running at port 8080
since squid's http port is 80.

The problem I have is that when I run cachemgr.cgi,

         http://192.168.128.20:8080/cgi-bin/cachemgr.cgi

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.

Status: 200 200 OK
Server: squid/2.6.STABLE13
Date: Thu, 12 Jul 2007 01:36:02 GMT
Expires: Thu, 12 Jul 2007 01:36:02 GMT
Last-Modified: Thu, 12 Jul 2007 01:36:02 GMT
X-Cache: MISS from squid.redtone.com
Via: 1.0 squid.redtone.com:80 (squid/2.6.STABLE13)
Proxy-Connection: close
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><TITLE>CacheMgr@localhost: menu</TITLE>
<STYLE
type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-s
erif}TABLE{background-color:#333333;border:0pt;padding:0pt}TH,TD{background-
color:#ffffff}--></STYLE>
</HEAD><BODY>
<H2><a
href="/cgi-bin/cmgr.cgi?host=localhost&port=80&user_name=&operation=authenti
cate&auth=">Cache Manager</a> menu for localhost:</H2><UL>
<LI type="disk"><A
HREF="/cgi-bin/cmgr.cgi?host=localhost&port=80&user_name=&operation=mem&auth
=">Memory Utilization</A>
......
Received on Wed Jul 11 2007 - 20:35:40 MDT

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