Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

www.webdp.net, Event 9 IIS log failed to write entry, wwwxxx jeffs, Catastrophic failure Unexpected method call sequence. 0x8000ffff (-2147418113)., ksh lock a file, [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_DBC failed, sed: -e expression #1, char 1: unterminated address regex, procmail + change subject, w2ksp4.exe download, /proc/kallsyms format

Links

XODOX
Impressum

#1: beginner htaccess question

Posted on 2008-04-19 18:04:28 by 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?

Report this message