I understand they replaced nginx with something different. But why a half-finished webserver that doesn't even support things like URL rewriting. For those who seek a secure webserver, but with features to properly support the modern website/framework/CMS, try the Hiawatha webserver [hiawatha-webserver.org].
Because most people do not need a server full of (holes?) features... They just need to serve a few pages. Everything else is in ports, even your precious Hiawata...
No, most people want to run a simple PHP website (Wordpress, Drupal, etc). But since almost every modern CMS and framework require at least a simple form of URL rewriting (rewrite every request for a non-existig file to/index.php), OpenBSD's httpd is a no-go.
New HTTP daemon (Score:2)
I understand they replaced nginx with something different. But why a half-finished webserver that doesn't even support things like URL rewriting. For those who seek a secure webserver, but with features to properly support the modern website/framework/CMS, try the Hiawatha webserver [hiawatha-webserver.org].
Re: (Score:0)
Because most people do not need a server full of (holes?) features... They just need to serve a few pages. Everything else is in ports, even your precious Hiawata...
Re: (Score:2)
Re:New HTTP daemon (Score:4, Informative)
OpenBSD's httpd(8) supports HTTP redirects, and it certainly seems possible to redirect requests to i.e: php-fpm.
location "*.php" {
fastcgi socket "/path/to/php-fpm.sock"
}
location "/" {
block return 301 "/index.php"
}
Reyk Floeter (reyk@) has a Wiki with some additional example configurations, contribute more:
https://github.com/reyk/httpd/... [github.com]