From 2cb0733854d69aa34dc824ccfa07e32516429d1d Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 8 Jan 2019 21:03:41 +0000 Subject: Add mod_markdown --- etc/apache/httpd.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'etc') diff --git a/etc/apache/httpd.conf b/etc/apache/httpd.conf index 85f38f6..fd4fe26 100644 --- a/etc/apache/httpd.conf +++ b/etc/apache/httpd.conf @@ -56,6 +56,7 @@ LoadModule expires_module modules/mod_expires.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule remoteip_module modules/mod_remoteip.so +LoadModule markdown_module modules/mod_markdown.so CacheRoot "/var/cache/apache2/" CacheEnable disk / @@ -89,6 +90,7 @@ SSLSessionCache shmcb:/run/apache2/ AddType application/x-httpd-php .php AddType text/xsl .xsl +AddType text/markdown .md # Compress output FilterDeclare COMPRESS CONTENT_SET @@ -117,6 +119,7 @@ PerlSetVar JavaScriptMinifier JavaScript::Minifier::XS AuthLDAPURL "ldap://localhost:389/ou=Users,dc=random,dc=lan?uid?sub?(objectClass=*)" Alias "/.well-known" "/var/www/shared/letsencrypt/.well-known/" +AddHandler markdown .md # Host specific stuff -- cgit v1.2.3