DirectoryIndex index.php
php_value display_errors on
php_value
short_open_tag 1
RewriteEngine On
RewriteRule
^(([0-9]+).)?(battle|battles|add_battle|battle_all)\.(wml|html|xhtml)$
battle.php?%{QUERY_STRING}&id=$2&m=$3&version=$4
[L]
RewriteRule ^(([0-9]+).)?([a-zA-Z0-9_-]+).(wml|html|xhtml)$
index.php?%{QUERY_STRING}&id=$2&m=$3&version=$4
[L]
RewriteRule ^(p([0-9]+).)?([a-zA-Z0-9_-]+).(wml|html|xhtml)$
index.php?%{QUERY_STRING}&page=$2&m=$3&version=$4 [L]