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/*" {
fastcgi
root ""
}
}
How to make it possible to redirect www.example.com to www.example.com/cgi-bin/bgplg, rather than having to type exactly www.example.com/cgi-bin/bgplg.
I tried a few options but none seems to work. Thanks