diff options
-rwxr-xr-x | server/mkrepo.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/mkrepo.sh b/server/mkrepo.sh index 9c40529..adf48fa 100755 --- a/server/mkrepo.sh +++ b/server/mkrepo.sh @@ -54,6 +54,10 @@ if [ "$public" = "y" ]; then touch $f chgrp scm $f chmod g+w $f +else + # Disable raw HTTP access to this directory. + # + echo "deny from all" >$r/.htaccess fi mv $r/hooks/post-update.sample $r/hooks/post-update |