[open-ils-commits] r7999 - in trunk/Open-ILS/src: . cgi-bin
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Nov 4 19:56:35 EST 2007
Author: dbs
Date: 2007-11-04 19:41:15 -0500 (Sun, 04 Nov 2007)
New Revision: 7999
Modified:
trunk/Open-ILS/src/Makefile
trunk/Open-ILS/src/cgi-bin/circ-rules.cgi
trunk/Open-ILS/src/cgi-bin/copy_statuses.cgi
trunk/Open-ILS/src/cgi-bin/lib-setup.cgi
trunk/Open-ILS/src/cgi-bin/org_unit_types.cgi
trunk/Open-ILS/src/cgi-bin/perms-setup.cgi
trunk/Open-ILS/src/cgi-bin/usr_group-setup.cgi
Log:
Prevent config cgi-bin files from being cached by the browser.
Mark cgi files as executable on install.
Modified: trunk/Open-ILS/src/Makefile
===================================================================
--- trunk/Open-ILS/src/Makefile 2007-11-04 22:44:01 UTC (rev 7998)
+++ trunk/Open-ILS/src/Makefile 2007-11-05 00:41:15 UTC (rev 7999)
@@ -168,6 +168,7 @@
cp $(TMP)/cgi-bin/*cgi $(CGIDIR)
cp -r cgi-bin/support $(CGIDIR)
cp cgi-bin/setup.pl $(ETCDIR)/live-db-setup.pl
+ chmod 755 $(CGIDIR)/*cgi
storage-bootstrap:
@echo $@
Modified: trunk/Open-ILS/src/cgi-bin/circ-rules.cgi
===================================================================
--- trunk/Open-ILS/src/cgi-bin/circ-rules.cgi 2007-11-04 22:44:01 UTC (rev 7998)
+++ trunk/Open-ILS/src/cgi-bin/circ-rules.cgi 2007-11-05 00:41:15 UTC (rev 7999)
@@ -1,4 +1,5 @@
#!/usr/bin/perl -w
+# vim:noet:ts=4
use strict;
use OpenILS::Application::Storage;
@@ -28,6 +29,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta http-equiv="Pragma" content="no-cache" />
+ <meta http-equiv="Expires" content="Thu, 01 Dec 2000 16:00:00 GMT" />
<style>
table.table_class {
border: dashed lightgrey 1px;
Modified: trunk/Open-ILS/src/cgi-bin/copy_statuses.cgi
===================================================================
--- trunk/Open-ILS/src/cgi-bin/copy_statuses.cgi 2007-11-04 22:44:01 UTC (rev 7998)
+++ trunk/Open-ILS/src/cgi-bin/copy_statuses.cgi 2007-11-05 00:41:15 UTC (rev 7999)
@@ -1,5 +1,6 @@
#!/usr/bin/perl
use strict;
+# vim:noet:ts=4
use OpenILS::Application::Storage;
use OpenILS::Application::Storage::CDBI;
@@ -27,6 +28,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta http-equiv="Pragma" content="no-cache" />
+ <meta http-equiv="Expires" content="Thu, 01 Dec 2000 16:00:00 GMT" />
<style>
table.table_class {
border: dashed lightgrey 1px;
Modified: trunk/Open-ILS/src/cgi-bin/lib-setup.cgi
===================================================================
--- trunk/Open-ILS/src/cgi-bin/lib-setup.cgi 2007-11-04 22:44:01 UTC (rev 7998)
+++ trunk/Open-ILS/src/cgi-bin/lib-setup.cgi 2007-11-05 00:41:15 UTC (rev 7999)
@@ -1,5 +1,6 @@
#!/usr/bin/perl
use strict;
+# vim:noet:ts=4
use DateTime;
use OpenILS::Application::Storage;
@@ -106,6 +107,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta http-equiv="Pragma" content="no-cache" />
+ <meta http-equiv="Expires" content="Thu, 01 Dec 2000 16:00:00 GMT" />
<style>
table.table_class {
border: dashed lightgrey 1px;
Modified: trunk/Open-ILS/src/cgi-bin/org_unit_types.cgi
===================================================================
--- trunk/Open-ILS/src/cgi-bin/org_unit_types.cgi 2007-11-04 22:44:01 UTC (rev 7998)
+++ trunk/Open-ILS/src/cgi-bin/org_unit_types.cgi 2007-11-05 00:41:15 UTC (rev 7999)
@@ -1,5 +1,6 @@
#!/usr/bin/perl
use strict;
+# vim:noet:ts=4
use OpenILS::Application::Storage;
use OpenILS::Application::Storage::CDBI;
@@ -28,6 +29,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta http-equiv="Pragma" content="no-cache" />
+ <meta http-equiv="Expires" content="Thu, 01 Dec 2000 16:00:00 GMT" />
<style>
table.table_class {
border: dashed lightgrey 1px;
Modified: trunk/Open-ILS/src/cgi-bin/perms-setup.cgi
===================================================================
--- trunk/Open-ILS/src/cgi-bin/perms-setup.cgi 2007-11-04 22:44:01 UTC (rev 7998)
+++ trunk/Open-ILS/src/cgi-bin/perms-setup.cgi 2007-11-05 00:41:15 UTC (rev 7999)
@@ -1,5 +1,6 @@
#!/usr/bin/perl
use strict;
+# vim:noet:ts=4
use OpenILS::Application::Storage;
use OpenILS::Application::Storage::CDBI;
@@ -28,6 +29,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta http-equiv="Pragma" content="no-cache" />
+ <meta http-equiv="Expires" content="Thu, 01 Dec 2000 16:00:00 GMT" />
<style>
table.table_class {
border: dashed lightgrey 1px;
Modified: trunk/Open-ILS/src/cgi-bin/usr_group-setup.cgi
===================================================================
--- trunk/Open-ILS/src/cgi-bin/usr_group-setup.cgi 2007-11-04 22:44:01 UTC (rev 7998)
+++ trunk/Open-ILS/src/cgi-bin/usr_group-setup.cgi 2007-11-05 00:41:15 UTC (rev 7999)
@@ -1,4 +1,5 @@
#!/usr/bin/perl
+# vim:noet:ts=4
use strict;
use OpenILS::Application::Storage;
@@ -72,6 +73,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta http-equiv="Pragma" content="no-cache" />
+ <meta http-equiv="Expires" content="Thu, 01 Dec 2000 16:00:00 GMT" />
<style>
table.table_class {
border: dashed lightgrey 1px;
More information about the open-ils-commits
mailing list