Revision: 6106
http://ipcop.svn.sourceforge.net/ipcop/?rev=6106&view=rev
Author: owes
Date: 2011-11-17 22:19:26 +0000 (Thu, 17 Nov 2011)
Log Message:
-----------
Cannot use showheader from header.pl because it will redirect.
Modified Paths:
--------------
ipcop/trunk/html/vhost81/cgi-bin/chpasswd.cgi
Modified: ipcop/trunk/html/vhost81/cgi-bin/chpasswd.cgi
===================================================================
--- ipcop/trunk/html/vhost81/cgi-bin/chpasswd.cgi 2011-11-17 22:17:57 UTC
(rev 6105)
+++ ipcop/trunk/html/vhost81/cgi-bin/chpasswd.cgi 2011-11-17 22:19:26 UTC
(rev 6106)
@@ -29,7 +29,6 @@
require '/usr/lib/ipcop/general-functions.pl';
require '/usr/lib/ipcop/lang.pl';
-require '/usr/lib/ipcop/header.pl';
my %cgiparams;
my %proxysettings;
@@ -108,7 +107,11 @@
ERROR:
-&Header::showhttpheaders();
+# Can't use showhttpheaders, it will redirect to https on GUI port
+print "Pragma: no-cache\n";
+print "Cache-control: no-cache\n";
+print "Connection: close\n";
+print "Content-type: text/html\n\n";
print <<END
<!DOCTYPE html
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn