[open-ils-commits] r8000 - in branches/rel_1_2/Open-ILS/src: . cgi-bin

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Nov 4 20:01:14 EST 2007


Author: dbs
Date: 2007-11-04 19:45:54 -0500 (Sun, 04 Nov 2007)
New Revision: 8000

Modified:
   branches/rel_1_2/Open-ILS/src/Makefile
   branches/rel_1_2/Open-ILS/src/cgi-bin/circ-rules.cgi
   branches/rel_1_2/Open-ILS/src/cgi-bin/copy_statuses.cgi
   branches/rel_1_2/Open-ILS/src/cgi-bin/lib-setup.cgi
   branches/rel_1_2/Open-ILS/src/cgi-bin/org_unit_types.cgi
   branches/rel_1_2/Open-ILS/src/cgi-bin/perms-setup.cgi
   branches/rel_1_2/Open-ILS/src/cgi-bin/usr_group-setup.cgi
Log:
Backport from trunk:
Prevent config cgi-bin files from being cached by the browser.
Mark cgi files as executable on install.


Modified: branches/rel_1_2/Open-ILS/src/Makefile
===================================================================
--- branches/rel_1_2/Open-ILS/src/Makefile	2007-11-05 00:41:15 UTC (rev 7999)
+++ branches/rel_1_2/Open-ILS/src/Makefile	2007-11-05 00:45:54 UTC (rev 8000)
@@ -162,6 +162,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: branches/rel_1_2/Open-ILS/src/cgi-bin/circ-rules.cgi
===================================================================
--- branches/rel_1_2/Open-ILS/src/cgi-bin/circ-rules.cgi	2007-11-05 00:41:15 UTC (rev 7999)
+++ branches/rel_1_2/Open-ILS/src/cgi-bin/circ-rules.cgi	2007-11-05 00:45:54 UTC (rev 8000)
@@ -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: branches/rel_1_2/Open-ILS/src/cgi-bin/copy_statuses.cgi
===================================================================
--- branches/rel_1_2/Open-ILS/src/cgi-bin/copy_statuses.cgi	2007-11-05 00:41:15 UTC (rev 7999)
+++ branches/rel_1_2/Open-ILS/src/cgi-bin/copy_statuses.cgi	2007-11-05 00:45:54 UTC (rev 8000)
@@ -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: branches/rel_1_2/Open-ILS/src/cgi-bin/lib-setup.cgi
===================================================================
--- branches/rel_1_2/Open-ILS/src/cgi-bin/lib-setup.cgi	2007-11-05 00:41:15 UTC (rev 7999)
+++ branches/rel_1_2/Open-ILS/src/cgi-bin/lib-setup.cgi	2007-11-05 00:45:54 UTC (rev 8000)
@@ -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: branches/rel_1_2/Open-ILS/src/cgi-bin/org_unit_types.cgi
===================================================================
--- branches/rel_1_2/Open-ILS/src/cgi-bin/org_unit_types.cgi	2007-11-05 00:41:15 UTC (rev 7999)
+++ branches/rel_1_2/Open-ILS/src/cgi-bin/org_unit_types.cgi	2007-11-05 00:45:54 UTC (rev 8000)
@@ -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: branches/rel_1_2/Open-ILS/src/cgi-bin/perms-setup.cgi
===================================================================
--- branches/rel_1_2/Open-ILS/src/cgi-bin/perms-setup.cgi	2007-11-05 00:41:15 UTC (rev 7999)
+++ branches/rel_1_2/Open-ILS/src/cgi-bin/perms-setup.cgi	2007-11-05 00:45:54 UTC (rev 8000)
@@ -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: branches/rel_1_2/Open-ILS/src/cgi-bin/usr_group-setup.cgi
===================================================================
--- branches/rel_1_2/Open-ILS/src/cgi-bin/usr_group-setup.cgi	2007-11-05 00:41:15 UTC (rev 7999)
+++ branches/rel_1_2/Open-ILS/src/cgi-bin/usr_group-setup.cgi	2007-11-05 00:45:54 UTC (rev 8000)
@@ -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