wiki:New_documentation

Version 3 (modified by Dominic Hargreaves, 16 years ago) (diff)

howto -> manual

This is supposed to be a place to hold new documentation that should be merged into the Manual somewhere but hasn't yet, for various reasons.


Protecting your wiki configuration

In a .htaccess file in your wiki's directory, or in your Apache configuration:

 <FilesMatch "^wiki.conf">
 order allow,deny
 deny from all
 </FilesMatch>

This will prevent any file whose name starts with wiki.conf from being readable by web visitors. Note that if the program you use to edit your config file has a different convention for naming backup copies (you do use an editor that makes backups, right?) - i.e., it doesn't append something to the name like ~ or .bak - then you will have to write a different pattern in the FilesMatch? directive, or the file will be readable to web users. For more on FilesMatch?, see http://httpd.apache.org/docs/mod/core.html#filesmatch .