Thanks, and yes, it will be a web server, sorry I didn't think to specify that.
---------- edited --------
thanks , using the -d option gave me enough information to find and fix the
lines as needed, it now does access the index.php .
------- edited -----------
This is what my httpd.conf is now:
Code:
# $OpenBSD: httpd.conf,v 1.16 2016/09/17 20:05:59 tj Exp $
#
# Macros
#
ext_addr="*"
#
# Global Options
#
# prefork 3
#
# Servers
#
# A minimal default server
server "default" {
listen on $ext_addr port 80
directory {
index "index.php"
}
location "*.php" {
fastcgi socket "/run/php-fpm.sock"
}
}
types {
text/css css
text/html html htm
text/txt txt
image/gif gif
image/jpeg jpeg jpg
image/png png
application/javascript js
application/xml xml
}
It still is very minimal, but works, the index.php displays as expected.
Thanks again