Thread: i am a bonehead
View Single Post
Old 2006-07-11, 01:18 PM   #1
vmp22
Heh Heh Heh! Lisa! Vampires are make believe, just like elves and gremlins and eskimos!
 
Join Date: Jan 2004
Posts: 72
i am a bonehead

heres a lesson about not testing on production servers....

it was about midnite last nite and i was testing some new mod_rewrite rules on my production server. i did some test on my development box but the results came out differently on that and so i thought hey production server... should be no problems. i couldnt get the specific rule to work and it wasnt crashing my site so i thought, just go to bed and work on it tomorrow. I LEFT THE RULE IN PLACE ON THE PRODUCTION SERVER. This morning when I went to my site I notice that it is now redirecting everything to yahoo.com!!!

so heres the moral of my lesson:
1) NEVER, NEVER test on the live boxes
2) but if you do wish to break Rule #1 and test on live, NEVER leave it in place and ALWAYS revert back to original
3) ALWAYS use some kind of versioning system (eg- CVS)

the good thing is that i did it late last night and i caught it this morning.

now if only yahoo will pay me CPM for those clicks i refer them...
vmp22 is offline   Reply With Quote