Sample Header Ad - 728x90

OpenBGP httpd.conf

3 votes
1 answer
776 views
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
Asked by bbzz (31 rep)
Feb 11, 2017, 10:48 PM
Last activity: Feb 21, 2017, 08:57 AM