Why do witches burn?

Because they’re made of wood, like bridges, and so float on water, like churches, very small rocks, gravy, and a duck.

This is not the only solution to know if your website got dead links.

For example, Awstats will tell you them too, but only from on site at the time.
Also, online dead link finders are you friends, like W3C Link Checker.

My solution works directly on the server, and also find the errors that come from a link in another site going to your site, on a non-existent page. You will also see how most browser ask a lot for « /favicon.ico » on your sites…

Use (command line interface) :

$ sudo php parseLogApacheError.php
$ lynx /tmp/errors404.inc.html

You can download the code here :

2 Responses to “List all 404 errors from a Apache server”

  1. C’est beaucoup plus fun de faire ça avec un (gros) oneliner shell :)

    Roberta

  2. Oui, je sais, je suis un psychopathe en puissance. Même que pour mieux m’inspirer des modèles flamands (Anvers & Termonde), j’ai déménagé (presque) en Flandre.

    Roberta

Leave a Reply