[daisy] Change default redirect for site
A Rocha Webmaster
webmaster at arocha.org
Thu Jul 31 23:49:23 CEST 2008
I need a similar thing: for a section of the site that's only visible to
non-Guest users, I want to replace the error message "access denied ...
for user guest" with something more helpful, like "Please login to read
the _______ website", followed by the login screen.
Creating such a page is straightforward. The issue is redirecting Daisy
to the page whenever that happens.
The post "HTTP status codes" seems to imply that such a thing already
exists...
http://lists.cocoondev.org/pipermail/daisy/2005-February/000924.html
Advice on using that facility, please?
Júlio.
Qui, 2008-07-31 às 20:45 +0000, Nick escreveu:
> I have a site that is only accessible to certain accounts. Currently, if a
> person signs out of Daisy while they're viewing a document within this site,
> they get redirected to the site's home page.
>
> Since they signed out, however, they see the "access denied ... for user guest"
> error page. They also lose the navigation bar, and thus any link back to the
> pages they do have access to. In effect, they're stuck unless they manually
> enter the URL of a page they do have access to.
>
> Is it possible to override this default behavior, so that instead of returning
> to the site's home page, they are redirected to some document that I designate?
More information about the daisy
mailing list