I use a VPS with openBSD. It has openHTTPd as the web server
Something must be wrong though
I have uploaded everything to the /var/www/htdocs/forum
I go to my website: http://monsieur.host.bsdforall.org/foru ... ll/app.php
But when I press install tab, it says 404 not found
http://monsieur.host.bsdforall.org/foru ... hp/install
Code: Select all
404 Not Found
OpenBSD httpd
That's my web server configuration
Code: Select all
server "monsieur.host.bsdforall.org" {
listen on * port 80
location "/.well-known/acme-challenge/*" {
root "/acme"
request strip 2
}
location "*.php" {
fastcgi socket "/run/php-fpm.sock"
root "/htdocs/"
}
}
#server "monsieur.host.bsdforall.org" {
# listen on * port 80
# location "/.well-known/acme-challenge/*" {
# root "/acme"
# request strip 2
# }
# location * {
# block return 302 "https://$HTTP_HOST$REQUEST_URI"
# }
#}
server "monsieur.host.bsdforall.org" {
listen on * tls port 443
tls {
certificate "/etc/ssl/monsieur.host.bsdforall.org.pem"
key "/etc/ssl/private/monsieur.host.bsdforall.org.key"
}
location "/pub/*" {
directory auto index
}
location "/.well-known/acme-challenge/*" {
root "/acme"
request strip 2
}
location "*.php" {
fastcgi socket "/run/php-fpm.sock"
root "/htdocs/"
}
}