On 24/04/06, Nic Gibson <[EMAIL PROTECTED]> wrote:
Potentially stupid question...
Why does maypole return -1 for DECLINED and ERROR? In mod_perl terms
-1 is DECLINED. I was wondering why errors show up as NOT_FOUND and
now I know why :)
Does this have something to do with allowing pass through for non
maypole content and, if so, isn't there a smarter way to do that?
This sounds more like internal maypole constants clashing with
mod_perl constants when they escape.
I'd like to have the Maypole Handler return the correct mod_perl
status, as this feels like a bug rather than a feature.
Pass through is handled by checking for ok tables and actions, and
otherwise processing a file in that location as a template.
On a busy site you may not want the extra overhead of this for your
static css, javascript, etc so I tend to move them out of the template
path and set a no-handler for their location in the apache config.
Cheers,
A.
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Maypole-users mailing list
Maypole-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/maypole-users