Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Chit Chat (http://www.greenguysboard.com/board/forumdisplay.php?f=12)
-   -   i am a bonehead (http://www.greenguysboard.com/board/showthread.php?t=32904)

vmp22 2006-07-11 01:18 PM

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... |banghead|

ronnie 2006-07-11 05:21 PM

Least Yahoo could send you a thank you card.... :)

ronnie

SirMoby 2006-07-12 12:11 AM

4) If it's getting late and you find that you're making simple mistakes. Stop! Walk a way. Collect your thoughts and try to remember everything you touched then go put things back they way they were before you started futsing around


All times are GMT -4. The time now is 03:05 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc