--- loncom/Attic/lchtmldir 2002/04/27 12:01:50 1.1
+++ loncom/Attic/lchtmldir 2002/05/03 03:43:54 1.3
@@ -115,10 +115,10 @@ if($DEBUG) {
}
-if( $authentication ne "unix" &&
- $authentication ne "internal" &&
- $authentication ne "krb4" &&
- $authentication ne "localauth") {
+if( $authentication ne "unix:" &&
+ $authentication ne "internal:" &&
+ $authentication ne "krb4:" &&
+ $authentication ne "localauth:") {
if($DEBUG) {
print("Invalid authentication parameter: ".$authentication."\n");
print("Should be one of: unix, internal, krb4, localauth\n");
@@ -179,7 +179,7 @@ if(!( -e $dirtry1)) {
}
&EnableRoot;
-&System("/bin/mkdir $fulldir") unless (-e $fulldir);
+&System("/bin/mkdir -p $fulldir") unless (-e $fulldir);
unless(-e $fulldir."/index.html") {
open OUT,">".$fulldir."/index.html";
print OUT<