Redirect Worms Away

Written by Richard Lowe


Continued from page 1

The Apache web server provides a feature called .htaccess, which provides commands to control a web site. This file is very obscure and extremely useful when used properly. You have to be careful when editing .htaccess files, as a small mistake can make your web site stop working. What I like to do is immediately testrepparttar site to be sure it works.

Be sure not to makerepparttar 132109 mistake that I made once - I browsed to my site, saw thatrepparttar 132110 home page came up, and went to work. Later, I found it was not working but appeared to work becauserepparttar 132111 home page was stored in my browser cache. Thus I learned a simple lessonrepparttar 132112 hard way: always hitrepparttar 132113 refresh key ofrepparttar 132114 browser when testing .htaccess changes.

I did a little research and testing, and addedrepparttar 132115 following lines to my .htaccess file.

redirect /scripts http://www.stoptheviruscold.invalid redirect /MSADC http://www.stoptheviruscold.invalid redirect /c http://www.stoptheviruscold.invalid redirect /d http://www.stoptheviruscold.invalid redirect /_mem_bin http://stoptheviruscold.invalid redirect /msadc http://stoptheviruscold.invalid RedirectMatch (.*)cmd.exe$ http://stoptheviruscold.invalid$1

These lines did exactly what I wanted them to do - they stoppedrepparttar 132116 virus from creating 404 errors in my log file, and they prevented my 404 error page from being triggered, thus creating lots of useless bandwidth utilization. There is still some bandwidth used, obviously, but it is far less than it would have been. The load onrepparttar 132117 server is also considerably reduced, which should make my web hosting company happy.

Note that log file entries are still made byrepparttar 132118 various worms as they attempt to penetraterepparttar 132119 server. These entries do now show as errors, which makes it easier to pick out real errors fromrepparttar 132120 logs.

Richard Lowe Jr. is the webmaster of Internet Tips And Secrets at http://www.internet-tips.net - Visit our website any time to read over 1,000 complete FREE articles about how to improve your internet profits, enjoyment and knowledge.


Web Legalities: Bandwidth Stealing

Written by Richard Lowe


Continued from page 1

So not only do they "steal"repparttar image (it is probably copyrighted and they are copying it without permission each timerepparttar 132106 web site is loaded) they "steal"repparttar 132107 bandwidth!!

This is extraordinarily bad form, it's tasteless and it should be avoided likerepparttar 132108 plague.

In some extreme cases, unscrupulous "webmasters" (I userepparttar 132109 term loosely) link to large zip files on other servers to give their own visitors extra features. This often occurs with sites containing downloadable software, wallpaper and desktop themes.

DO NOT do this without permission! If you do, you are a thief and you are costing someone else money and aggravation.

What do you do if someone links to your images or files without your permission and he will not stop? Replacerepparttar 132110 file with something else. A picture or document stating that this person is stealing bandwidth should suffice. If you can getrepparttar 132111 email address or phone number ofrepparttar 132112 person, you might include it for additional impact.



Richard Lowe Jr. is the webmaster of Internet Tips And Secrets. This website includes over 1,000 free articles to improve your internet profits, enjoyment and knowledge. Web Site Address: http://www.internet-tips.net Weekly newsletter: http://www.internet-tips.net/joinlist.htm Daily Tips: mailto:internet-tips@GetResponse.com


    <Back to Page 1
 
ImproveHomeLife.com © 2005
Terms of Use