diff options
author | Dante Catalfamo | 2020-08-15 02:11:30 -0400 |
---|---|---|
committer | Dante Catalfamo | 2020-08-15 02:11:30 -0400 |
commit | 40970c4f399545bbbd1cb7e5258d01d7bade766a (patch) | |
tree | f09578816a872eaf3a51e0316ab78ef29210354c | |
parent | c667240045726aa081acda73f2f67256d8c26f77 (diff) | |
download | blog-40970c4f399545bbbd1cb7e5258d01d7bade766a.tar.gz blog-40970c4f399545bbbd1cb7e5258d01d7bade766a.tar.bz2 blog-40970c4f399545bbbd1cb7e5258d01d7bade766a.zip |
openbsd-mime: Add OpenBSD version number for reasons
-rw-r--r-- | content/posts/openbsd-httpd-mime-types/index.org | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/posts/openbsd-httpd-mime-types/index.org b/content/posts/openbsd-httpd-mime-types/index.org index ce3038d..bc8b27a 100644 --- a/content/posts/openbsd-httpd-mime-types/index.org +++ b/content/posts/openbsd-httpd-mime-types/index.org @@ -1,4 +1,4 @@ -#+TITLE: OpenBSD httpd MIME Types +#+TITLE: Fixing OpenBSD 6.7 httpd MIME Types #+DATE: 2020-08-15T01:49:22-04:00 #+DRAFT: false #+DESCRIPTION: How to get OpenBSD httpd to return the proper MIME types for files @@ -27,7 +27,7 @@ it instead of opening it directly. This isn't a tragedy, but it can be annoying and interrupt the flow of the user's experience. The solution to this is to include the =application/pdf= MIME type in -a [[https://man.openbsd.org/httpd.conf.5#types][=TYPES=]] block in your =httpd.conf=. There are two ways to go about +a [[https://man.openbsd.org/httpd.conf.5#TYPES][=TYPES=]] block in your =httpd.conf=. There are two ways to go about this. Either by manually defining the type you require, or including the system's built-in MIME type database. @@ -35,7 +35,7 @@ Using the first method you would include a types block that defines all of the MIME types you require. This types block can go anywhere outside of a server declaration. -The types are defined in the format of =type/subtype name [name ...]= +The types are defined in the format of =type/subtype name [name ...]=. #+begin_src types { |