Prevent config cgi-bin files from being cached by the browser.
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 5 Nov 2007 00:41:15 +0000 (00:41 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 5 Nov 2007 00:41:15 +0000 (00:41 +0000)
Mark cgi files as executable on install.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@7999 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/Makefile
Open-ILS/src/cgi-bin/circ-rules.cgi
Open-ILS/src/cgi-bin/copy_statuses.cgi
Open-ILS/src/cgi-bin/lib-setup.cgi
Open-ILS/src/cgi-bin/org_unit_types.cgi
Open-ILS/src/cgi-bin/perms-setup.cgi
Open-ILS/src/cgi-bin/usr_group-setup.cgi

index fdf8080..23ea095 100644 (file)
@@ -168,6 +168,7 @@ cgi-bootstrap:
        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 $@
index 6bc5d70..f676879 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/bin/perl -w
+# vim:noet:ts=4
 use strict;
 
 use OpenILS::Application::Storage;
@@ -28,6 +29,8 @@ Content-type: text/html
 
 <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;
index 46bca2c..5c5dc92 100755 (executable)
@@ -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 @@ Content-type: text/html
 
 <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;
index c79757d..71b949a 100755 (executable)
@@ -1,5 +1,6 @@
 #!/usr/bin/perl
 use strict;
+# vim:noet:ts=4
 
 use DateTime;
 use OpenILS::Application::Storage;
@@ -106,6 +107,8 @@ Content-type: text/html
 
 <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;
index 24ad395..db6bedf 100755 (executable)
@@ -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 @@ Content-type: text/html
 
 <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;
index bdff619..b285d65 100755 (executable)
@@ -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 @@ Content-type: text/html
 
 <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;
index 962fa1d..dfd6da4 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/bin/perl
+# vim:noet:ts=4
 use strict;
 
 use OpenILS::Application::Storage;
@@ -72,6 +73,8 @@ Content-type: text/html
 
 <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;