Changeset 8677 in genesis for config


Ignore:
Timestamp:
Nov 30, 2010, 12:12:47 AM (14 years ago)
Author:
richardvm
Message:

uri wasn't right

Location:
config/iris/node/FreeBSD/8.0-RELEASE
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • config/iris/node/FreeBSD/8.0-RELEASE/g_list.pl

    r8672 r8677  
    99my $conf_file = dirname(__FILE__) . "/genesis.conf";
    1010do($conf_file) || die("Cann't open $conf_file");
    11 
    1211
    1312
     
    7372  if ( $debug ) { print "File: $file\n"; }
    7473}
    75 else {
    76   $title="listing";
    77 };
    78 
    7974
    8075#controleer wat de browser is
     
    9489
    9590#als geen node gespecificeerd dan kijken of svn geupdate is gevraagd
    96 if( $ENV{"QUERY_STRING"}=~/update/i) {
    97   printline("<PRE>");
    98   #select(STDERR); $| = 1;     # make unbuffered
    99   #select(STDOUT); $| = 1;     # make unbuffered
    100   printline(`$svn update $ndir`);
    101   printline("</PRE>");
    102   printline("<H2>Done.<H2><P>");
    103   printline("Click <A HREF=$source>here</A>");
    104   printline("if you're not forwarded automaticly in 5 seconds.<P>");
    105   printline("<META HTTP-EQUIV=REFRESH CONTENT=5;URL=$source>");
    106 }
    107 else {
    108  g_list( );
    109 }
    110 
    111 if( $node eq 'filelist' ) {
     91if(!$node) {
     92  if( $ENV{"QUERY_STRING"}=~/update/i) {
     93    printline("<PRE>");
     94    #select(STDERR); $| = 1;     # make unbuffered
     95    #select(STDOUT); $| = 1;     # make unbuffered
     96    printline(`$svn update $ndir`);
     97    printline("</PRE>");
     98    printline("<H2>Done.<H2><P>");
     99    printline("Click <A HREF=$source>here</A>");
     100    printline("if you're not forwarded automaticly in 5 seconds.<P>");
     101    printline("<META HTTP-EQUIV=REFRESH CONTENT=5;URL=$source>");
     102  }
     103  else {
     104   g_list( );
     105  }
     106}
     107elsif( $node eq 'filelist' ) {
    112108  filelist( );
    113109}
     
    170166      printline("<TR><TD><A HREF=$node/config>$node</A></TD>");
    171167      foreach $file (sort @filelist) {
    172         printline("<TD><A HREF=$node/$file>$file</A></TD>\n");
     168        printline("<TD><A HREF=$uri$node/$file>$file</A></TD>\n");
    173169      };
    174170    };
  • config/iris/node/FreeBSD/8.0-RELEASE/genesis.conf

    r8676 r8677  
    3838
    3939chomp($hostname);
    40 $uri='/config/iris/node/freebsd/8.0-RELEASE/';
     40$uri='/config/iris/node/FreeBSD/8.0-RELEASE/g_list.pl/';
    4141$cgi_dir="$uri";
    4242$source="$cgi_dir";
     
    6464## ssh key variablen ##
    6565#global ssh_keys
    66 $global_keyPath="$home/config/nodes/global_keys";
     66$global_keyPath="$home/../../../../../nodes/global_keys";
    6767#node specific
    6868$ssh_file='ssh_key'
Note: See TracChangeset for help on using the changeset viewer.