cachemgr.cgi

来自「Unix下基于Web的管理工具」· CGI 代码 · 共 21 行

CGI
21
字号
#!/usr/local/bin/perl# cachemgr.cgi# Run the squid cachemgr.cgi programrequire './squid-lib.pl';$mgr = $config{'cachemgr_path'};if (&has_command($mgr)) {	$| = 1;	system($mgr, @ARGV);	}else {	&header("Error", "");	print "<hr>\n";	print "The Squid cache manager program <tt>$mgr</tt> was not found\n";	print "on your system. Maybe your <a href=/config.cgi?$module_name>module\n";	print "configuration</a> is incorrect. <p>\n";	}print "<hr>\n";&footer("", "squid index");

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?