Hoping to clarify if OpenBSD HTTPD supports index.html & index.php
simultaneously?
The following config appears to be supported:
# A minimal default server
server "default" {
listen on $ext_addr port 80
directory { index "index.html" }
location "/*.php*" {
root { "/htdocs" }
fastcgi socket "/run/php-fpm.sock"}
However different varieties of the following directive:
directory { index “index.html”, index “index.php”} or { index “index.html”,
“index.php”}
Results in either a successful reload or the following syntax error:
httpd[35299]: parent_sig_handler: reload requested with SIGHUP
httpd[35299]: /etc/httpd.conf:20: syntax error
httpd[35299]: no actions, nothing to do
Regards
Patrick