Why have a separate branch? Heroku can just tell us where to put them in the folder hierarchy and they'll grab them from there.
If I were designing this I'd say to create a top level directory in your project called "errors" or "heroku_error_pages" or something like that. Then name you're files like you do for rails error pages...500.html, etc. When you deploy I'd take those pages and copy them to a static html host server while renaming them to <your_app_name>_error_xxx.html. Then the heroku infrastructure could simply redirect to that location instead of returning the generic error pages. Heroku knows which error it is and it knows what application was being accessed, so this should be relatively simple. I live across the street. Want me to come in and implement it real quick? ;o) Mike On Wed, Sep 15, 2010 at 10:00 AM, David Balatero <[email protected]> wrote: > I've suggested in the past having a separate branch in your repo called > "errorpages" or something, which has a few static HTML pages. Push that > branch to Heroku, and it can use those files to serve errors. > On Wed, Sep 15, 2010 at 7:58 AM, Daniel Spangenberg > <[email protected]> wrote: >> >> I like the idea too, >> but maybe I don't wan't to set up an extra heroku app or shared host for >> an static html page only, >> maybe it would be nice if you can choose to take the iframe and a >> textinput, where you can insert plain html. >> Daniel >> Am 15.09.2010 um 16:55 schrieb Adrian Cuadros: >> >> + 1 on this also. like the idea about the iframe >> >> On Wed, Sep 15, 2010 at 9:02 AM, Jeff Schmitz >> <[email protected]> wrote: >>> >>> +1 Maybe the generic page could be a fail Koi >>> >>> On Wed, Sep 15, 2010 at 7:31 AM, Daniele <[email protected]> wrote: >>>> >>>> Hi, >>>> as you can see from the status page in the past 2 days Heroku had a >>>> lot of problems that resulted in "Timeout connection" and "Backlog Too >>>> Deep" error pages. This two pages have a message specifically >>>> addressed to the administrator that is not acceptable in a production >>>> site. We need to have personalized pages. Same logic about the Heroku >>>> Ouchie Page of course! >>>> >>>> If this is not possible immediately a quick hack could be to have a >>>> really generic "white-label" page (multilingual would be appreciated) >>>> and put all the system message in an html comment. We are tech guys, >>>> right? Is not a problem to look at the source to find out what is >>>> happening. This seems clever that show a ugly error message to >>>> everyone. >>>> >>>> Finally as I already suggested in another discussion: >>>> A simple solution for more personalization without the need to access >>>> any preferences could be to have a full page iframe inside the >>>> heroku's error page pointing to >>>> http://error.<heroku_app_domain.tld>/<http_error>.html >>>> The admin has to create a third/fourth level domain, point it to a >>>> different server and create the personalized pages. >>>> So every application can have an error page/backup application to >>>> handle the down. A js can check for the domain existence and switch to >>>> a plain txt message if it is not set. >>>> >>>> I'd love to get feedback on these ideas by Heroku guys. Thank you. >>>> >>>> Daniele >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Heroku" group. >>>> To post to this group, send email to [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]. >>>> For more options, visit this group at >>>> http://groups.google.com/group/heroku?hl=en. >>>> >>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Heroku" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/heroku?hl=en. >> >> >> >> -- >> Adrian Cuadros >> [email protected] >> (+521) 8116848310 >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Heroku" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/heroku?hl=en. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Heroku" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/heroku?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
