Tag Archive for 'Apache'

Sed removes empty ending lines

If for some reason you have to deal with a strange Apache that hangs serving PHP scripts ending with an empty line, you could find this sed based script I wrote useful. Of course you can use it as:
find . -name "*.php" | xargs ./go

Astonished by reference

Everybody knows that Internet is quite a strange place. Today I have read the Apache log of my professional website and I have found some very astonishing information:

  • I have absolutely no idea about why thousands of HTTP Referers are from a Dutch estate company (I guess it is, because I don’t understand Dutch);
  • a French guy that moderates (moderates?) an AFAIK live action gun role-playing game web forum uses my picture as an avatar (oh, dear!) and once more I have absolutely no idea why he does that;
  • I’m the third Carlo you can find on Google Image and I guess this fact is related to the previous one.