Tags:
archive_me1Add my vote for this tag create new tag
, view all tags
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

Topic revision: r4 - 2008-08-25 - TWikiJanitor
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.