in reply to How to cause Apache's .htaccess file to run a Perl script
Overpowered answer: yes, in mod_perl; the Apache request lifecycle has an authentication phase, and mod_perl allows you to install a 'handler' which gets called at the beginning of the authentication phase.
Such a handler could check to see whether the directory corresponding to the requested URI has a .wsl file and do the required work.
the drawback with this method is that mod_perl is wicked powerful and moderately complex.
|
|---|