beginner htaccess question

beginner htaccess question

am 19.04.2008 18:04:28 von rdlowrey

Okay, I created a new .htaccess file with the following lines to
redirect "index.php" to "/", restarted the webserver and it worked
fine:

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://www.mysite.org/ [R=301,L]

Unfortunately I'm a moron and it was supposed to be mysite.COM and not
mysite.ORG (copy and paste, *sigh*). So now it's redirecting to a
nonexistant address (mysite.org). I've fixed the line and restarted
the web server so that it correctly reads:

RewriteRule ^index\.php$ http://www.mysite.com/ [R=301,L]

But it's still redirecting to mysite.org and I can't get it to
change...

How do I fix this?