You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2011/09/19 03:56:08 UTC

[jira] [Commented] (TS-960) Make "error documents" templatable to the administrator

    [ https://issues.apache.org/jira/browse/TS-960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107584#comment-13107584 ] 

Leif Hedstrom commented on TS-960:
----------------------------------

I think that's what proxy.config.body_factory.enable_customizations  is for, no ? The hardcoded stuff are "defaults", which you can override. Not sure why they are hardcoded, presumably for performance, but that seems like a small win honestly (but, not sure).

> Make "error documents" templatable to the administrator
> -------------------------------------------------------
>
>                 Key: TS-960
>                 URL: https://issues.apache.org/jira/browse/TS-960
>             Project: Traffic Server
>          Issue Type: Improvement
>    Affects Versions: 3.1.1
>            Reporter: Igor Galić
>
> I believe it would be enormously usable to the Administrator to have templatable (editable) error documents (like httpd does)
> That means to remove the HTML code from proxy/http/HttpMessageBody.cc and put it in a template
> replace things title with @@TITLE@@ or similar -- maybe even WARN the user that they have to occur in exactly that order to work, so as to make parsing as simple as possible.?
> In any case this template should be cached, and only read once upon startup. We have a cache, after all, we should use it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira