[freeze break request] render rst files as plaintext on infra.fp.o

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux