Forum Moderators: phranque
I am getting a 500 Internal Server Error due to this .htaccess file, or so my error log says.
[Thu Oct 18 14:32:56 2007] [alert] [client #*$!] directory/.htaccess: RewriteRule: cannot compile regular expression '^system/([a-z0-9\\-]+)$?' I am fairly new to htaccess, what am I doing wrong? Htaccess file is here:
#php_flag magic_quotes_gpc Off
AddType application/x-httpd-php .phpOptions -MultiViews -indexes
ErrorDocument 404 /404.php
RewriteEngine On
RewriteRule ^system/([a-z0-9\-]+)$? system.php?system=$1 [QSA]
RewriteRule ^list/([a-z0-9\-]+)/([a-z0-9\-]+)$? system.php?system=$1&list=$2 [QSA]
RewriteRule ^game/([a-z0-9\-]+)$? game.php?game=$1 [QSA]
RewriteRule ^review/([a-z0-9\-]+)$? review.php?review=$1 [QSA]
Thank you!