From: Matt Birkholz Date: Sat, 30 Mar 2024 22:53:39 +0000 (-0500) Subject: Tangle .htaccess from README.org. X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=c7bb79ab2535bcf95cb68572cdaf7304027072c1;p=Network Tangle .htaccess from README.org. --- diff --git a/.gitignore b/.gitignore index 52df594..440aba1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/.htaccess /private /roles/ /Secret* diff --git a/README.org b/README.org index 90a28b8..3950dfe 100644 --- a/README.org +++ b/README.org @@ -398,6 +398,19 @@ filename suffixes. #+END_SRC +The following =.htaccess= file works with the directives above. It +declares most the native source files in the current directory tree to +be plain text, so that they are displayed rather than downloaded. + +#+CAPTION: =.htaccess= +#+BEGIN_SRC conf :tangle .htaccess +ReadmeName notfound.html +IndexIgnore README.org +AddType text/plain attr campus_vpn cfg cnf conf crt daily_letsencrypt +AddType text/plain domain el htaccess idx j2 key old org pack pem +AddType text/plain private pub public_vpn req rev sample txt yml +#+END_SRC + ** Configure Photos URLs on Front Some of the directives added to the =-vhost.conf= file map the abbey's