Hi there,

I'm messing around ::Gallery (thanks nik!) and I ran into a problem with AxHandleDirs. Apparently it doesn't co-exist well with the axkit: URI. I can be ultra specific at this point because I haven't created a simple test case. But it looks kinda like the wrong stylesheets are being applied when a document('axkit:....') call is made.

anyone else ever seen that?

...

This got me hacking for a workaround (there isn't any clean one, I can't use document('http://mysite.com/foo/bar.xml') for relative requests...) and then thinking about AxHandleDirs which has given me grief in the past. I don't like the way AxHandleDirs works. I think it goes against the file-oriented design of AxKit and the apache config files. There's lots of useful apache directives (like <Files ...>) and AxAdd*Processor directives that can be used with files. But with AxHandleDirs you basically are pretty limited in your options.

Not only that, but it's kind of odd because you only get the XML back if the UA opens the directory foo/bar/ ... you don't get the XML directory file back if you call foo/bar/index.html . I think that's wrong -- the directory XML should replace index.html by default. Or you could name the file with something like AxHandleDirs <filename.xml> And then if you request that file, you get the auto-generated index for the dir it resides in.

simon


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



Reply via email to