[hackers] [diri] adapted Georg's other proposals

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Mon Feb 12 11:44:24 2007

changeset: 65:6961090f1436
tag: tip
user: Anselm R. Garbe <arg_AT_suckless.org>
date: Mon Feb 12 11:42:11 2007 +0100
summary: adapted Georg's other proposals

diff -r 889b94c2530d -r 6961090f1436 README
--- a/README Mon Feb 12 10:18:09 2007 +0100
+++ b/README Mon Feb 12 11:42:11 2007 +0100
@@ -34,6 +34,7 @@ Afterwards perform following steps:
 
   cp *rc /var/www/
   mkdir /var/www/diri
+ chown www-data /var/www/diri
   chmod 700 /var/www/diri
 
 Make sure that .rc files are handled as CGI-executables in your webserver
diff -r 889b94c2530d -r 6961090f1436 save.rc
--- a/save.rc Mon Feb 12 10:18:09 2007 +0100
+++ b/save.rc Mon Feb 12 11:42:11 2007 +0100
@@ -33,8 +33,6 @@ dirs=`{basename -d $PATH_INFO}
 dirs=`{basename -d $PATH_INFO}
 if(test $dirs)
         /bin/mkdir -p $DIRIDIR/$dirs
-if(test -f $DIRIDIR/$PATH_INFO.diri)
- mv $DIRIDIR/$PATH_INFO.diri $DIRIDIR/$PATH_INFO.`{date -n}
 echo $text | $URLDECODE > $DIRIDIR/$PATH_INFO.diri
 cp $DIRIDIR/$PATH_INFO.diri $DIRIDIR/$PATH_INFO.`{date -n}
 $WIKIFMT < $DIRIDIR/$PATH_INFO.diri > $DIRIDIR/$PATH_INFO
Received on Mon Feb 12 2007 - 11:44:24 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:13 UTC