On May 16, 2015 1:14 AM, "Ricky Elrod" <codeblock(a)elrod.me> wrote:
One of the goals for switching from the wiki to storing these docs as
plaintext files was ease of access. But our httpd currently forces users
to download .rst files before viewing them. Since it appears our doc
files are getting transformed to rst, let's render rst files as
plain-text so the files are still viewable in a browser on infra.fp.o.
+1's?
diff --git
a/configs/httpd/websites/
infrastructure.fedoraproject.org/infrastructure.conf
b/configs/httpd/websites/
infrastructure.fedoraproject.org/infrastructure.conf
index 4b25c77..7085b05 100644
---
a/configs/httpd/websites/
infrastructure.fedoraproject.org/infrastructure.conf
> +++
b/configs/httpd/websites/
infrastructure.fedoraproject.org/infrastructure.conf
@@ -9,6 +9,7 @@ DocumentRoot /srv/web
<Directory /srv/web>
Options Indexes FollowSymLinks
AllowOverride None
+ AddType text/plain rst
Order allow,deny
Allow from all
</Directory>
+1, thanks Ricky :)
--Pete