正規表現に境界を追加する必要があります。たとえば、正規表現は両方に^forum/([a-zA-Z0-9_-]+)
一致するため、ルールがループしています。文字列の最後の一致を正規表現に追加するか、条件を追加して書き換えを停止することができます。/forum/new-thread
/forum/community
$
RewriteRule ^forum/([a-zA-Z0-9_-]+)/new-thread$ /forum/new-thread.php?comm=$1 [L]
RewriteRule ^forum/([a-zA-Z0-9_-]+)$ /forum/community.php?comm=$1 [L]
また
RewriteCond %{ENV:REDIRECT_STATUS} 200
RewriteRule ^ - [L]
RewriteRule ^forum/([a-zA-Z0-9_-]+)/new-thread /forum/new-thread.php?comm=$1 [L]
RewriteRule ^forum/([a-zA-Z0-9_-]+) /forum/community.php?comm=$1 [L]
また
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^forum/([a-zA-Z0-9_-]+)/new-thread /forum/new-thread.php?comm=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^forum/([a-zA-Z0-9_-]+) /forum/community.php?comm=$1 [L]