in reply to mason, dhandlers, page not found, and redirects

Let me clarify my bad post some.

Can't easily use the apache location approach to give Mason dibs on a while directory, as lotza different file types in there don't want Mason to mangle.

Yes, apache generates the 404. And apache flips to a custom page-not-found page. But -- here's the whack part -- the custom 404 page is a .html file in the mason tree, so it gets masonified. And it does indeed get masonified: the custom not-found file is indeed working under mason -- header, nav, etc.

Can do all the mason things on this page, run code, etc -- except cannot seem to redirect away from this custom page, using either the mason redirect method or the 'flush' 'header_out' 'abort' approach.

my question again then: if the not-found page will 'do' mason, why won't apache accept a redirect away from it??

befuddled...

  • Comment on Re: mason, dhandlers, page not found, and redirects

Replies are listed 'Best First'.
Re^2: mason, dhandlers, page not found, and redirects
by btucker (Initiate) on Sep 19, 2005 at 03:25 UTC
    Any reason you can't just turn off decline_dirs? I think that'll let you do what you want in a much cleaner way.