- Timestamp:
- Sep 24, 2016, 3:29:05 PM (10 years ago)
- Location:
- branches/czw_branch/20160809
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
DataStoreServer/scripts/dsrootindex (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20160809
-
branches/czw_branch/20160809/DataStoreServer/scripts/dsrootindex
r17381 r39719 14 14 my $PS_EXIT_CONFIG_ERROR = 3; 15 15 16 # set this variable to redirect listings of the root datastore directory 17 # to the password protected php page on the postage stamp server web site. 18 # Since the data store is restricted by IP address now this is no longer necessary 19 my $redirect_root_to_pstamp = 0; 20 if ($redirect_root_to_pstamp) { 21 22 print ' 23 <html> 24 <head> 25 <meta HTTP-EQUIV="REFRESH" content="0; url=http://pstamp.ipp.ifa.hawaii.edu/dsroot.php"> 26 </head> 27 </html> 28 '; 29 30 exit 0; 31 } 32 16 33 my $dbh = getDBHandle(); 17 34 18 my $stmt = $dbh->prepare("SELECT * FROM dsProduct ");35 my $stmt = $dbh->prepare("SELECT * FROM dsProduct ORDER BY type"); 19 36 $stmt->execute(); 20 37 … … 36 53 $row->{type}, $row->{description}; 37 54 55 # XXX EAM : security by obfuscation 38 56 print $line; 39 57 }
Note:
See TracChangeset
for help on using the changeset viewer.
