Re: [naviserver-devel] default filename extension

2014-07-13 Thread John Buckman
Thanks Gustaf, thanks for your thoughts: 1) I agree that a 404 handler is another way of doing this, and it has the advantage of only adding overhead when the file is not there, with no overhead added for other situations. I've used that approached previously on aolserver. 2) it's true that Apa

Re: [naviserver-devel] default filename extension

2014-07-13 Thread John Buckman
Wow, Jeff, it's incredibly kind of you to have written this extension in response to my query. I did find a small bug with the code you sent, namely that it also appended .adp to urls that ended with /, so you'd get a request for "http://localhost/.adp"; when you tried to load "http://localhost