diff --git a/rc/bin/rc-httpd/handlers/dir-index b/rc/bin/rc-httpd/handlers/dir-index index f8667f664..5f1897cd5 100755 --- a/rc/bin/rc-httpd/handlers/dir-index +++ b/rc/bin/rc-httpd/handlers/dir-index @@ -6,7 +6,7 @@ if(! test -d $full_path){ error 404 exit } -if(! test -r $full_path -x $full_path){ +if(! test -r $full_path){ error 503 exit }