diff -ruN smeserver-webshare-1.0.0.orig/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80AuthFile smeserver-webshare-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80AuthFile --- smeserver-webshare-1.0.0.orig/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80AuthFile 1969-12-31 16:00:00.000000000 -0800 +++ smeserver-webshare-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80AuthFile 2011-10-11 17:44:47.000000000 -0700 @@ -0,0 +1,4 @@ +{ + $OUT .= load_modules(qw(auth_basic)); + $OUT .= load_modules(qw(authn_file)); +} diff -ruN smeserver-webshare-1.0.0.orig/root/etc/e-smith/web/functions/webshare smeserver-webshare-1.0.0/root/etc/e-smith/web/functions/webshare --- smeserver-webshare-1.0.0.orig/root/etc/e-smith/web/functions/webshare 2005-05-17 14:43:17.000000000 -0700 +++ smeserver-webshare-1.0.0/root/etc/e-smith/web/functions/webshare 2011-10-11 17:51:15.000000000 -0700 @@ -63,7 +63,7 @@ tie %conf, 'esmith::config'; my %projects; -tie %projects, 'esmith::config', '/home/e-smith/WebShare'; +tie %projects, 'esmith::config', '/home/e-smith/db/WebShare'; #------------------------------------------------------------ @@ -286,7 +286,7 @@ my $description = (); my $indexer = (); - my $share = $q->param ('sharename'); + $share = $q->param ('sharename'); if ($share =~ /^([a-zA-Z0-9][\-\_\.a-zA-Z0-9]*)$/) { $share = $1; @@ -298,7 +298,7 @@ return; } - my $indexer = $q->param ('indexer'); + $indexer = $q->param ('indexer'); if ($indexer =~ /^([a-zA-Z0-9][\-\_\.a-zA-Z0-9]*)$/) { $indexer = $1; @@ -310,7 +310,7 @@ return; } - my $description = $q->param ('description'); + $description = $q->param ('description'); db_set(\%projects, $share, 'WebShare'); db_set_prop(\%projects, "$share", "Description", "$description"); @@ -599,4 +599,4 @@ showInitial ($q, "Successfully deleted Web share $project."); return; -} \ No newline at end of file +}