Fix typo in example httpd config which caused error on startup.
authorstsp <stsp@openbsd.org>
Thu, 17 Jul 2014 11:32:14 +0000 (11:32 +0000)
committerstsp <stsp@openbsd.org>
Thu, 17 Jul 2014 11:32:14 +0000 (11:32 +0000)
/etc/httpd.conf:8: failed to add media type
ok reyk

usr.sbin/httpd/httpd.conf.5

index a6f90a6..7e6f7f4 100644 (file)
@@ -1,4 +1,4 @@
-.\"    $OpenBSD: httpd.conf.5,v 1.2 2014/07/13 14:17:37 reyk Exp $
+.\"    $OpenBSD: httpd.conf.5,v 1.3 2014/07/17 11:32:14 stsp Exp $
 .\"
 .\" Copyright (c) 2014 Reyk Floeter <reyk@openbsd.org>
 .\"
@@ -14,7 +14,7 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd $Mdocdate: July 13 2014 $
+.Dd $Mdocdate: July 17 2014 $
 .Dt HTTPD.CONF 5
 .Os
 .Sh NAME
@@ -165,7 +165,7 @@ server "default" {
 
 types {
        text/css                        css;
-       text/html                       html html;
+       text/html                       htm html;
        text/txt                        txt;
        image/gif                       gif;
        image/jpeg                      jpg jpeg;