On Wednesday, 22. January 2003 21:44, Nik Clayton wrote: > How do, > > Is AxKit supposed to pass non-XML data straight through without raising > errors? > > I've got some files and, in some circumstances, requesting the files > should generate some XML. In other circumstances, the content of the > file should be sent through (or, at least, non-XML data should get sent > through). > > ..../foo.jpg <-- Generates some XML > ..../foo.jpg?size=small <-- Generates image/jpeg data
Use the following configuration variant: AddHandler axkit .xsp .xml .myotherxmlextension ... instead of SetHandler axkit or SetHandler perl-script PerlHandler AxKit This way, axkit will only ever be called for files with the corresponding extensions - it won't even get near .jpg's or .gif's. -- CU Joerg PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E 7779 CDDC 41A4 4C48 6F94 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
