|
From: Karl O. P. <ko...@ka...> - 2026-01-12 00:06:28
|
On Sun, 11 Jan 2026 20:53:55 -0000 (UTC)
Guenter Milde via Docutils-develop
<doc...@li...> wrote:
> Bug report #516 by Ulrich Müller notices that the "View document
> source" links are served with the "personal" MIME type
> "text/prs.fallenstein.rst"
>
> The following patch is intended to override this with the "unoffical
> official" unregistered MIME type "text/x-rst":
>
> --- .htaccess (Revision 10160)
> +++ .htaccess (Arbeitskopie)
> @@ -1,5 +1,12 @@
> +# Enable directory index listings
> +# ===============================
> Options Indexes
>
> +# MIME types
> +# ==========
> +# use "text/x-rst" instead of the personal/vanity entry
> "text.prs.fallenstein.rst" +AddType text/x-rst .rst
> +
> # Redirects
> # =========
>
> Would this be a good idea?
I'm going to comment, even though abundently ignorant.
Anything involving .htaccess is voodoo, and apache-specific
action-at-a-distance voodoo at that. When doing web-related
sysadmin work I try to stay far away from .htaccess files.
Please ignore this comment if you do not find it useful.
Regards,
Karl <ko...@ka...>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein
|