When opening directories, re-match the location after the index file
authorreyk <reyk@openbsd.org>
Fri, 8 Aug 2014 18:29:42 +0000 (18:29 +0000)
committerreyk <reyk@openbsd.org>
Fri, 8 Aug 2014 18:29:42 +0000 (18:29 +0000)
commitde6550b143b4867d7b323aa57e845c3161977b02
tree296da00097870cfecbc82075e68abaceddd79640
parentb3ad23448a26821207030a854741b6b8534ae33c
When opening directories, re-match the location after the index file
has been appended.  This allows to use a fastcgi target as the default
index, for example index.php.

OK florian@
usr.sbin/httpd/http.h
usr.sbin/httpd/httpd.h
usr.sbin/httpd/server_fcgi.c
usr.sbin/httpd/server_file.c
usr.sbin/httpd/server_http.c