- Timestamp:
- Oct 31, 2010, 8:47:20 PM (14 years ago)
- Location:
- config/iris/node/FreeBSD/8.0-RELEASE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
config/iris/node/FreeBSD/8.0-RELEASE/INSTALL.txt
r8614 r8620 4 4 put marvilous code in there, which will potentially ruin your machine 5 5 !!! END WARNING !!!! 6 7 XXX: Cleanup to match new reality 8 == apache configuration CleanURL == 9 /usr/local/etc/apache22/Includes/something.conf: 10 # WLConfig 11 ScriptAliasMatch /config/iris/freebsd/8.0-RELEASE/(.*) /usr/local/www/wlconfig/freebsd/iris-8.0/g_list.pl 12 <Directory /usr/local/www/wlconfig> 13 Allow from all 14 </Directory> 6 15 7 16 -
config/iris/node/FreeBSD/8.0-RELEASE/g_list.pl
r8614 r8620 4 4 # Rick van der Zwet 5 5 # 6 use File::Basename; 6 7 7 8 # Config located at other file 8 my $conf_file ="/usr/local/www/wlconfig/freebsd/iris-8.0/genesis.conf";9 my $conf_file = dirname(__FILE__) . "/genesis.conf"; 9 10 do($conf_file) || die("Cann't open $conf_file"); 10 11 … … 66 67 #REQUEST parsen 67 68 $request=$ENV{'REQUEST_URI'}; 68 if( $request =~/.*g_list.pl\/(.*)$/) {69 if( $request =~ /$uri(.*)$/) { 69 70 ($node,$file)=split(/\//,$1); 70 71 $title="$node $file"; … … 85 86 else { 86 87 $HTML=1; 87 printline("<HTML> ");88 printline("<HTML><HEAD>"); 88 89 printline("<TITLE>Genesis $title</TITLE>"); 89 printline("<BODY BGcolor=white>"); 90 printline("<base href='$source'></base>"); 91 printline("</HEAD><BODY BGcolor=white>"); 90 92 }; 91 93 … … 167 169 } 168 170 else { 169 printline("<TR><TD><A HREF= g_list.pl/$node/config>$node</A></TD>");171 printline("<TR><TD><A HREF=$node/config>$node</A></TD>"); 170 172 foreach $file (sort @filelist) { 171 printline("<TD><A HREF= g_list.pl/$node/$file>$file</A></TD>\n");173 printline("<TD><A HREF=$node/$file>$file</A></TD>\n"); 172 174 }; 173 175 }; … … 313 315 314 316 if( $HTML) { 315 printline("<H1>Genesis $file voor: $ hostname</H1><P>");317 printline("<H1>Genesis $file voor: $node</H1><P>"); 316 318 }; 317 319 -
config/iris/node/FreeBSD/8.0-RELEASE/genesis.conf
r8614 r8620 37 37 38 38 chomp($hostname); 39 $cgi_dir="http://$hostname/freebsd/iris-8.0"; 40 $source="$cgi_dir/g_list.pl"; 39 $uri='/config/iris/freebsd/8.0-RELEASE/'; 40 $cgi_dir="http://${hostname}$uri"; 41 $source="$cgi_dir"; 41 42 42 43 #path variablen
Note:
See TracChangeset
for help on using the changeset viewer.