Hi folks, and sorry for the cross-posting. I've been looking at the source for midgard-apache1 and midgard-core. I'm trying to understand how requests are being looked up, handled, etc.
My initial idea was to have a simple way to generate custom (read: styled) error documents for my midcom sites. What I've seen is that: * midgard always accepts a request within a midgard-enabled vhost * midgard lets the application generate it's own errors. Probably the issue is more complicated than what I think, but shouldn't midgard check all the way to the existence and readability of a page (article) before accepting/declining the request? If the logic was such, we would be able to * pass the request back to other apache modules for further processing (would mod_alias ErrorDocument be able to pass a request back to midgard?) * generate proper apache error logs Is it possible at all to generate custom error messages? I could probably hack into application.php to generate "styled" error pages but this doesn't seem like the proper approach. What do you think is the proper way of solving this dilemma? I haven't found much on the mailing list archives... yet I'm pretty sure this question has come up before. Thanks, Nico Halpern -- Marcelo N. Halpern, your favorite daemon. UNIX Systems Administrator - Ramapo College TEL: +1.201.684.6821 FAX: +1.201.684.7961 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
