http://www.0x50.org/?option=com_docu&topic=Common_behavior
Directory /download {
Handler common {
HeaderFile /var/www/README
Interpreter /usr/bin/php5-cgi
}
}
this is almost the kind of behavior I've been looking for. What I would
like to do instead is substitute script alias for interpreter and invoke
the script alias if the referenced file doesn't exist.
I've been rummaging through the code and I will admit I'm feeling a bit
puzzled. I can see how the various handler pieces work and that you can
build a higher-level handler that invokes multiple subordinate handlers.
It's almost making sense.
I'm having difficulty finding where the handler code is able to invoke
header file and interpreter. I'm not seeing where common is invoking
PHP. Or even where the keywords are being parsed. and yes, I will
admit to knowing very little about yacc.
Some guidance would be much appreciated so I can make the module
modifications I need.
---eric
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee