Thread: broken links (intermittent)
<div dir="ltr">Good morning, <br /><br />I'm getting 404's every once in a while on paths through "current" that are "suggestedlinks" from the main <a href="http://postgresql.org">postgresql.org</a> search page. For example: <br /><br /><a href="http://www.postgresql.org/docs/current/static/backup-online.html">http://www.postgresql.org/docs/current/static/backup-online.html</a><br /><br/>Could we put a more informative 404 message in place? A contextual one would be ideal. In this case, we could servea "not found" page with a suggestion to check out the backups portion of the documentation. <br /><br />Or, maybe inthis specific case there should just be a redirect to the top of the backups-related docs. <br /><br />-selena<br clear="all"/><br />-- <br />Selena Deckelmann<br />PDXPUG - <a href="http://pugs.postgresql.org/pdx">http://pugs.postgresql.org/pdx</a><br/> Me - <a href="http://www.chesnok.com/daily">http://www.chesnok.com/daily</a><br/></div>
On Tue, Sep 30, 2008 at 3:00 PM, Selena Deckelmann <selenamarie@gmail.com> wrote: > Good morning, > > I'm getting 404's every once in a while on paths through "current" that are > "suggested links" from the main postgresql.org search page. For example: > > http://www.postgresql.org/docs/current/static/backup-online.html Whoever maintains the docbot irc thingy needs to update some URLs by the sounds of it. > Could we put a more informative 404 message in place? A contextual one would > be ideal. In this case, we could serve a "not found" page with a suggestion > to check out the backups portion of the documentation. > > Or, maybe in this specific case there should just be a redirect to the top > of the backups-related docs. Not easily, if at all. The documentation is dynamically generated from a database on the master server, which certainly doesn't know what pages might have been present in previous releases, at least without trawling through them all and trying to figure it out. The frontend servers that you actually get the pages from are all static servers that just serve the pre-generated HTML. They have no way of dynamically generating a 404 page. -- Dave Page EnterpriseDB UK: http://www.enterprisedb.com
Dave Page wrote: > On Tue, Sep 30, 2008 at 3:00 PM, Selena Deckelmann > <selenamarie@gmail.com> wrote: >> Good morning, >> >> I'm getting 404's every once in a while on paths through "current" that are >> "suggested links" from the main postgresql.org search page. For example: >> >> http://www.postgresql.org/docs/current/static/backup-online.html > > Whoever maintains the docbot irc thingy needs to update some URLs by > the sounds of it. The IRC bot is actively maintained by the IRC community on #postgresql but the database is only getting synced to the one search uses once in a while (not sure if at all actually). Stefan
On Tue, Sep 30, 2008 at 7:25 AM, Stefan Kaltenbrunner <stefan@kaltenbrunner.cc> wrote:
Ahhh! Ok. Thanks. I'll check in on IRC.
Dave Page wrote:The IRC bot is actively maintained by the IRC community on #postgresql but the database is only getting synced to the one search uses once in a while (not sure if at all actually).On Tue, Sep 30, 2008 at 3:00 PM, Selena Deckelmann
<selenamarie@gmail.com> wrote:Good morning,
I'm getting 404's every once in a while on paths through "current" that are
"suggested links" from the main postgresql.org search page. For example:
http://www.postgresql.org/docs/current/static/backup-online.html
Whoever maintains the docbot irc thingy needs to update some URLs by
the sounds of it.
Ahhh! Ok. Thanks. I'll check in on IRC.
--
Selena Deckelmann
PDXPUG - http://pugs.postgresql.org/pdx
Me - http://www.chesnok.com/daily
On Tue, Sep 30, 2008 at 7:10 AM, Dave Page <dpage@pgadmin.org> wrote:
Ok. Can we at least put up a static 404 error page?
> Could we put a more informative 404 message in place? A contextual one would> be ideal. In this case, we could serve a "not found" page with a suggestionNot easily, if at all. The documentation is dynamically generated from
> to check out the backups portion of the documentation.
>
> Or, maybe in this specific case there should just be a redirect to the top
> of the backups-related docs.
a database on the master server, which certainly doesn't know what
pages might have been present in previous releases, at least without
trawling through them all and trying to figure it out.
The frontend servers that you actually get the pages from are all
static servers that just serve the pre-generated HTML. They have no
way of dynamically generating a 404 page.
Ok. Can we at least put up a static 404 error page?
I have one mocked up, attached.
--
Selena Deckelmann
PDXPUG - http://pugs.postgresql.org/pdx
Me - http://www.chesnok.com/daily
Attachment
On Tue, Sep 30, 2008 at 3:36 PM, Selena Deckelmann <selenamarie@gmail.com> wrote: > > > On Tue, Sep 30, 2008 at 7:10 AM, Dave Page <dpage@pgadmin.org> wrote: >> >> On Tue, Sep 30, 2008 at 3:00 PM, Selena Deckelmann >> <selenamarie@gmail.com> wrote: >> >> > Could we put a more informative 404 message in place? A contextual one >> > would >> > be ideal. In this case, we could serve a "not found" page with a >> > suggestion >> > to check out the backups portion of the documentation. >> > >> > Or, maybe in this specific case there should just be a redirect to the >> > top >> > of the backups-related docs. >> >> Not easily, if at all. The documentation is dynamically generated from >> a database on the master server, which certainly doesn't know what >> pages might have been present in previous releases, at least without >> trawling through them all and trying to figure it out. >> >> The frontend servers that you actually get the pages from are all >> static servers that just serve the pre-generated HTML. They have no >> way of dynamically generating a 404 page. > > Ok. Can we at least put up a static 404 error page? We don't have complete access to all of the static mirrors - some are run by third parties who merely sync the content from us. I believe all are running Apache so could in theory have a custom page, but I don't know that for certain. -- Dave Page EnterpriseDB UK: http://www.enterprisedb.com
Dave Page wrote: > On Tue, Sep 30, 2008 at 3:36 PM, Selena Deckelmann > <selenamarie@gmail.com> wrote: >> >> On Tue, Sep 30, 2008 at 7:10 AM, Dave Page <dpage@pgadmin.org> wrote: >>> On Tue, Sep 30, 2008 at 3:00 PM, Selena Deckelmann >>> <selenamarie@gmail.com> wrote: >>> >>>> Could we put a more informative 404 message in place? A contextual one >>>> would >>>> be ideal. In this case, we could serve a "not found" page with a >>>> suggestion >>>> to check out the backups portion of the documentation. >>>> >>>> Or, maybe in this specific case there should just be a redirect to the >>>> top >>>> of the backups-related docs. >>> Not easily, if at all. The documentation is dynamically generated from >>> a database on the master server, which certainly doesn't know what >>> pages might have been present in previous releases, at least without >>> trawling through them all and trying to figure it out. >>> >>> The frontend servers that you actually get the pages from are all >>> static servers that just serve the pre-generated HTML. They have no >>> way of dynamically generating a 404 page. >> Ok. Can we at least put up a static 404 error page? > > We don't have complete access to all of the static mirrors - some are > run by third parties who merely sync the content from us. I believe > all are running Apache so could in theory have a custom page, but I > don't know that for certain. They are running apache, because it is a requirement. Allowing custom error messages currently is not a requirement, so we'd have to look through them all to see if/how they support that. It could be made to work IFF you can configure this from .htaccess, and we can make sure that all the servers allows it to be set from there. //Magnus