summaryrefslogtreecommitdiff
path: root/rc/bin/rc-httpd
diff options
context:
space:
mode:
Diffstat (limited to 'rc/bin/rc-httpd')
-rwxr-xr-xrc/bin/rc-httpd/handlers/dir-index2
1 files changed, 1 insertions, 1 deletions
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
}