htaccess rewrite is giving me 500 error?

kajevan

New Member
i have this url that i wanted to make friendly, using rewrite on .htacess but it gives me an error(500 internal server error), this is my orginal php url\[code\]http://www.example.com/viewtopic.php?topic=lovetopic\[/code\]i want to change it to this:\[code\]http://www.example.com/lovetopic\[/code\]this is my whole htaccess code is this:\[code\]RewriteEngine OnRewriteRule ^user/([^/]*)$ /viewprofile.php?user=$1 [L]RewriteRule ^([^/]*)$ /viewtopic.php?topic=$1 [L]\[/code\]i dont know what the problem isEDIT the server error log is giving me this error\[code\][Thu Oct 14 20:34:36 2010] [error] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., \[/code\]
 
Back
Top