r3 - 09 Mar 2006 - 16:43:01 - CrawfordCurrieYou are here: TWiki >  Codev Web > ApacheConfigOfAPlugin
Tags:
, create new tag
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

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo