TWiki dir: | What it is: | Where to copy: | Example: |
---|---|---|---|
twiki/bin |
CGI bin | cgi-bin enabled dir | /home/smith/public_html/cgi-bin/twiki |
twiki/pub |
public files | htdoc enabled dir | /home/smith/public_html/pub |
twiki/data |
topic data | outside of htdoc tree (for security) | /home/smith/twiki/data |
twiki/templates |
web templates | outside of htdoc tree (for security) | /home/smith/twiki/templates |
Redirect /urlpath/to/TWiki/index.html http://your.domain.com/urlpath/to/TWiki/bin/view
AuthUserFile /filepath/to/TWiki/data/.htpasswd
ErrorDocument 401 /urlpath/to/TWiki/bin/view/TWiki/TWikiRegistration
- **_Note:_** The browser should ask for login name and password when you click on the Edit link. In case `.htaccess` does not have the desired effect you need to enable it: Add "AllowOverride All" to the Directory section of `access.conf` for your `twiki/bin` directory.
- Copy the [[TWikiRegistrationPub]] topic to [[TWikiRegistration]]. Do that by either editing the topics in theTWiki web, or by renaming the `.txt` and `.txt,v` files in the `twiki/data/TWiki` directory.
- **_Note:_** You can customize the registration form if needed, like deleting or adding input tags. The `name=""` parameter of the input tags must start with: `"Twk0..."` (if this is an optional entry), or `"Twk1..."` (if this is a required entry). This will ensure that the fields are processed correctly.
- Optional: You can automatically generate usage statistics for all webs. To enable this:
- Make sure variable `$doLogTopicView, $doLogTopicSave and $doLogTopicUpload` in `wikicfg.pm` are set. This will generate log entries in file `twiki/data/log