Skip to main content
tags
Link
Simon Hayter
  • 33.1k
  • 8
  • 60
  • 120
Tweeted twitter.com/#!/StackWebmasters/status/143424834481827840
Post Migrated Here from stackoverflow.com (revisions)
Source Link

What's wrong with my htaccess ? (500 Error)

I've written a small htaccess file to redirect Internet Explorer users to a specific page Here are the contents :

# MS Internet Explorer - Mozilla v4
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/4(.*)MSIE
RewriteRule ^index\.php$ /sorry.php [L]

# All other browsers
#RewriteRule ^index\.html$ /index.32.html [L]

Any clue why this would give a 500 Internal Server Error ? I have used mod rewrite before so i have the module loaded there...