Auto-generated twiki.conf to be included from httpd.conf

NOTE: Some people, including many using web hosts can't edit http.conf. If this applies to you, do not bother using this page - edit the various .htaccess template files included in the download (they have instructions in them. Their filenames are all different, but include "htaccess.txt" in them)

Note that TWiki does not work with directory names containing spaces (especially important to notice for Windows users). So choose an installation directory without spaces.

Enter the full file path to your twiki root directory (mandatory):

Enter the IP address range or hostnames that will have access to configure - separate with spaces
(example: localhost 192.168.1.2) (optional):

Enter the list of user names that are allowed to view configure
Separate names with spaces (recommended):

Enable mod_perl (expert setting):

Choose your Login Manager:
None - No login
TemplateLogin - Redirect to the login template, which asks for a username and password in a form
ApacheLogin - Apache is configured to ask for authorization information

Prevent execution of attached files as PHP scripts if PHP is installed:
PHP4/5 Installed
PHP3 Installed
No PHP Installed

Block direct access to viewing attachments that ends with .htm or .html (recommended against spam abuse):

Block direct access to viewing attachments in Trash web (recommended against spam abuse):

Page to return when authentication fails:
TWikiRegistration
ResetPassword

Version of TWiki
4.1.X
4.2.X

twiki.conf created from your data

The text field below now contains a complete twiki.conf file to be included from httpd.conf. In many distributions the twiki.conf file is automatically included by placing it in the directory that contains the other included Apache config files. Typically in /etc/httpd/conf.d or /etc/apache2/conf.d

You can also place it anywhere else add the following line to the end of your main httpd.conf file: include "/path/to/twiki.conf"

By pressing the button below you select all the text in the textarea. Then you just need to copy the text to the pastebuffer and paste it into the twiki.conf file.


mod_perl startup script

If you choose to run mod_perl you can create a file /var/www/twiki/tools/mod_perl_startup.pl and copy all the text from the text area below and paste into this file.


Contributors: KennethLavrsen

 
Topic revision: r10 - 10 Dec 2008 - 22:24:05 - KennethLavrsen
 
Kenneth - Apache Config Generator
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback