Questions tagged [openbsd-httpd]

Questions about the default OpenBSD httpd server, including the retired fork of Apache 1.3

As of 5.7, httpd is also the name of the OpenBSD project's new default HTTP server developed as a replacement for their aging Apache 1.3 fork, which has been removed from base. To help prevent confusion, questions should include the the output of uname -mrsv

A port of Apache 1.3 is available in www/apache-httpd-openbsd for a transition period. Apache 2.x is also available in the ports collection and as a precompiled package. Use the tag if you're using the port of the upstream Apache 2.x /usr/local/sbin/httpd2.


man pages

11 questions
5
votes
1 answer

OpenBSD httpd.conf conditionals

Note: this question is about the built-in OpenBSD http server named httpd and its configuration. It does not apply to any other web servers. Is it possible to make runtime conditional configurations of the new OpenBSD http server httpd? A naïve…
Bex
  • 768
  • 5
  • 20
4
votes
1 answer

HTTP proxy in OpenBSD 5.8 (replacing Apache ProxyPass)

I'm trying to replace Apache with OpenBSDs httpd but can't figure out what to do with my ProxyPass statements. In apaches conf it looks like this ProxyPass /someurl http://192.168.123.123/someotherurl ProxyPassReverse /someurl…
EVK
  • 41
  • 2
3
votes
1 answer

How to modify the default "Index of" page in OpenBSD 5.3 httpd

Using the old apache: # grep -i httpd /etc/rc.conf httpd_flags="-DSSL" # grep -i nginx /etc/rc.conf nginx_flags=NO # How can I modify the custom "Index of" page? Question: The only problem with the default "Index of" page is that the "NAME"…
gasko peter
  • 5,434
  • 22
  • 83
  • 145
3
votes
1 answer

OpenBGP httpd.conf

How to redirect an http request to specific page using OpenBSD's httpd; for example, I'm serving up OpenBGPd bgplg like so in httpd.conf: ext_addr="127.0.0.1" server "www.example.conf" { listen on $ext_addr port 80 location "/cgi-bin/*" { …
bbzz
  • 31
  • 1
2
votes
1 answer

I can not change the ciphers in OpenBSD 6.2 in httpd.conf

I can not change the ciphers in OpenBSD 6.2 in httpd.conf tls ciphers "HIGH:!aNULL:!eNULL:!SSLv3:!TLSv1:!DSS:!ECDSA:!RSA:!SHA1:!AES128:!DHE:-ECDH:ECDHE:+SHA384:+SHA256" /etc/httpd.conf:46: server "domain.ex": tls configuration mismatch on…
Vim
  • 229
  • 1
  • 4
  • 15
1
vote
2 answers

How to find why php72_fpm is failing to start on OpenBSD?

My httpd logs show errors that look like php-fpm issues and sure enough, when I try rcctl start php72_fpm I get php72_fpm(failed) In line with other OpenBSD configuration so far, I'd expect to be able to investigate some logs and read some man…
ljs.dev
  • 2,127
  • 4
  • 19
  • 31
1
vote
0 answers

How do I install OpenBSD-httpd on Debian

I would like to run OpenBSD-httpd on Linux. Is there a portable version of OpenBSD-httpd? How do I install it on Debian?
Bex
  • 768
  • 5
  • 20
1
vote
1 answer

Building dynamically driven web sites with Mason (Perl) with httpd on OpenBSD current

Is it possible to build dynamically driven web sites with Mason (Perl) with httpd on OpenBSD current? See The Mason Book and the introduction to OpenBSD's httpd.
Vim
  • 229
  • 1
  • 4
  • 15
0
votes
0 answers

How to disable HTTP TRACE on OpenBSD 5.3?

An nmap scan gaved this: 443/tcp open ssl/http Apache httpd | http-methods: GET HEAD OPTIONS TRACE | Potentially risky methods: TRACE |_See http://nmap.org/nsedoc/scripts/http-methods.html so I tried to: # DISABLE TRACE vi…
gasko peter
  • 5,434
  • 22
  • 83
  • 145
0
votes
1 answer

How should I configure /etc/host.allow on OpenBSD to only allow given IP's?

I have an OpenBSD 5.1 box that is running a static html based website. I have a list of IP addresses that I want to allow, ex.: ... 78.128.49.0/24 78.128.50.0/24 ... It's a ~10 KByte. ~10 000 lines. I only want to allow these IP addresses, not…
gasko peter
  • 5,434
  • 22
  • 83
  • 145
0
votes
1 answer

Server httpd(OpenBSD), doesn't work server.key

I have tried several methods, but the SSL certificate doesn't work. BSD# curl -vi https://192.168.1.21:443 * Trying 192.168.1.21:443... * Connected to 192.168.1.21 (192.168.1.21) port 443 (#0) * ALPN, offering h2 *…
igor
  • 1
  • 4