here's my simple .htaccess file
it works in windows (XAMPP environment) but gives a 500 error on the server (linux hostgator shared server with other sites using mod_rewrite with no problems at all)Code:Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^/?([a-zA-Z-_]+)/([a-zA-Z-_]+)/([0-9a-zA-Z-_]+)/?$ view.php?state=$1&city=$2&discussion=$3 [L] RewriteRule ^/?([a-zA-Z-_]+)/([a-zA-Z-_]+)/?$ discussions.php?state=$1&city=$2 [L] RewriteRule ^/?([a-zA-Z-_]+)/?$ bystate.php?state=$1 [L]
any idea? do you see somethin wrong? I tried with a different editor, different encoding...everything...






Bookmarks