I haven't used aolserver much since the transistion to 3.0, I'm
just getting back into the fray. I have a couple of issues I thought
I'd bring up with the group:
1. Back in 2.3 days I filed a bug (number 562 according to my old
notes) about registering a filter function with a pattern and
the "directoryfile" parameter in the config file. Basically, if
you:
ns_register_filter postauth GET /*.adp myFunction
and you have this in the config file:
ns_section "ns/server/myServer"
ns_param directoryfile index.adp,index.html
and the user types this in her browser:
http://www.mydomain.com/subdir/
then the filter function is never called, because index.adp is not
present in the URL when the patterns are matched. In index.adp,
if you look at the URL with [ns_conn url] then the "index.adp" is
there. Thus if you have a trace function registered, like:
ns_register_filter trace GET /*.adp myFunction
then in fact myFunction is called.
Back then the aolserver development team (Mark? George?) thought
this was a problem worth considering, but I never heard about any
resolution. What do you think, should "directoryfile" be applied
first before pattern matching filter functions? I think so.
2. The documentation outlines a strategy for sharing open file descriptors
across TCL interpreters:
http://aolserver.com/docs/tcldev/tgen-ch3.htm#15579
This is outdated, there is no detach command. How does one share
a file descriptor these days?
Thanks,
Bob