Hi, friends, I have just noticed in the Apache manual the sentece:
New in Apache 1.3.13 is the feature that if Include points to a directory, rather than a file, Apache will read all files in that directory, and any subdirectory, and parse those as configuration files.
So ... I propose we add to the distribution the directory
config where each plugin should/could place its Apache configuration file (if the plugin places some file in the
bin directory).
E.g. the
PollPlugin that uses the
poll script will place the follwing config lined into
config/PollPlugin.config
# PollPlugin Apache settings for an authenticated site
<File "poll">
allow valid-user
</File>
The main Apache twiki.config file will need the following
Include directive inside the
bin Directory definition:
Include /path/to/twiki/config/
--
AndreaSterbini - 04 Mar 2002
The proposal in
PluginBinNameClashes is even better (does not depend on the web server version/type)
--
AndreaSterbini - 04 Apr 2002
Plugins can use
REST handlers to remove the need to have a script in the
bin directory.
--
RafaelAlvarez - 25 Aug 2008