Torsten Foertsch wrote:
> Hi,
>
> what is the canonical way to change "Options" from a handler?
I don't think so, as Options is private to httpd
>
> Apache2::Access::allow_options is read-only. Various attempts with
> $r->add_config in the uri translation and header parser phases failed:
>
> $r->add_config([q{Options +ExecCGI}]): $r->add_config() has failed: Options
> not allowed here
yes, that makes sense.
note to all: add_config() is .htaccess-style insertion into the config
process, governed by the same rules as an .htaccess file. so, if you're
using it to add directives that are limited in scope look out :)
>
> I have now written a little C-level module but is that the way?
probably. there are a few examples of how to do this via xs for mp1, of
which this
http://www.modperlcookbook.org/code/ch08/Cookbook-LanguagePriority-0.01.tar.gz
is one
HTH
--Geoff