mod_rewrite problems

PythonPython Forum LeaderThe Royal RAM
Im trying to make this forum more SE friendly by using mod_rewrite to rewrite the urls.

each time I do it though i get an internal server error

mod_rewrite is enabled because ive already checked with my host

what could it be?

i added this into a .htaccess file and placed it in the root directory for this domain:


[code:1:7437d4e885]RewriteEngine on
RewriteBase /
RewriteRule viewpost/([1-9]+?[0-9]*)\.html$ viewtopic.php?p=$1#$1 [NE,L]
RewriteRule viewtopic/([1-9]+?[0-9]*)\.html$ viewtopic.php?t=$1 [L]
RewriteRule viewforum/([1-9]+?[0-9]*)\.html$ viewforum.php?f=$1 [L]
[/code:1:7437d4e885]


Am i doing something wrong?[/code]

The Royal Ram

Sign In or Register to comment.