DirectoryIndex index.htm index.html AddType text/css .css AddType audio/x-mpeg-layer3 .mp3 AddType video/x-ms-wmv .wmv php_flag register_globals 0 php_flag file_uploads 1 # for debugging: 1; otherwise set to 0: php_flag display_errors 1 deny from all # # RewriteEngine on # RewriteCond %{REQUEST_FILENAME} !-f # RewriteCond %{REQUEST_FILENAME} !-d # RewriteRule ^(.*)$ index.php/$1 [L,QSA] # # works on woozalia.com, wiki.vbz.net: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)$ index.php/?title=$1 [PT,L,QSA] # RewriteRule index.php/(.+)$ /$1 [PT,L,QSA] # RewriteRule ^(.+)$ wiki.php/?title=$1 [PT,L,QSA] #DirectoryIndex wiki.php # to block active content while upgrading: # #deny from all #