--On Wednesday, June 11, 2003 2:36 PM -0400 S Woodside <[EMAIL PROTECTED]> wrote:

I was thinking recently along this line. Could AxKit have a generic
system to redirect accesses to a file to some other source?

Such as, foo.xml, is actually an abstraction of a database, or as Brian
said, ColdFusion. Could there be an AxKit API, to make these abstractions?


You can do that with a provider.


On the system I'm doing development on, in my httpd.conf I have something like:
<Location /foo>
SetHandler AxKit
AXContentProvider Apache::AxKit::Provider::foo
</Location>


The interesting bit is that in addition to http://host/foo being handled by the provider, http://host/foo/someother/string/here also goes to the same provider. Then you look at the URI and query arguments, and do whatever
database query & formatting you need to do.



-David Nolan Network Software Developer Computing Services Carnegie Mellon University


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to