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

Pete Travis lists at petetravis.com
Sat May 16 08:11:24 UTC 2015


On May 16, 2015 1:14 AM, "Ricky Elrod" <codeblock at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20150516/64686f3f/attachment-0001.html>


More information about the infrastructure mailing list