# $Id$ Allow from all # # Values for PHP. If you are running PHP as CGI, set the values embeded # in directly in your php.ini configuration file. # php_value session.auto_start 0 php_value session.use_trans_sid 0 # # URL-Rewriting for coWiki. If you do not want to use this feature # simply set the COWIKI_URL_REWRITE variable to "Off" and comment out # the RewriteRule in the following line. Do not forget to delete all cache # files (usually in /tmp/) *before* you re-request a coWiki script! Cached # files will still contain rewritten links. This is also true for your # session data, hence you must erase all session data manually. # RewriteEngine On SetEnv COWIKI_URL_REWRITE On RewriteRule ^([0-9]+)\.html$ index.php?node=$1&%{QUERY_STRING} RewriteRule ^([0-9]+)\.([0-9]+)\.html$ index.php?node=$1&comid=$2%{QUERY_STRING} # # Handle WikiWord URLs # RewriteRule ^([A-Z0-9]+[A-Za-z0-9]*)/([A-Z0-9]+[A-Za-z0-9]*)/*$ index.php?webname=$1&docname=$2&%{QUERY_STRING} RewriteRule ^([A-Z0-9]+[A-Za-z0-9]*)/*$ index.php?webname=$1&%{QUERY_STRING} ServerName cowiki DocumentRoot /usr/share/cowiki/htdocs