Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

078274121, info0a ip, should prodicers of software_based services be held liable or not liable for economic injuries, should producers of soft ware based services such as ATMs be held liable for economic injuries suffered when their systems fail?, nisc wwwxxx, wwwxxx0cm, should producers of software-based services, such as atms, be held liable for economic injuries suffered when their systems fail?, wwwxxx0cm, www.webdp.net, Event 9 IIS log failed to write entry

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