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

Pierre-Yves Chibon pingou at pingoured.fr
Sat May 16 07:33:57 UTC 2015


On Sat, May 16, 2015 at 03:13:41AM -0400, Ricky Elrod 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 for me

Pierre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20150516/eb999fa6/attachment.sig>


More information about the infrastructure mailing list