What's wrong with my htaccess ? (500 Error)
Posted
by
Dany Khalife
on Pro Webmasters
See other posts from Pro Webmasters
or by Dany Khalife
Published on 2011-11-09T04:00:12Z
Indexed on
2011/11/24
2:21 UTC
Read the original article
Hit count: 372
htaccess
|mod-rewrite
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...
© Pro Webmasters or respective owner