htdig reports links that are broken, telling you the URL that is
missing, and the page where that reference occurred.
For example, on a test web server I run, putting a reference to a
non-existent page gives in the output from htdig:
htdig: Errors to take note of:
Not found: http://testserver.nz.eds.com/dns/test.html
Ref: http://testserver.nz.eds.com/dns/
This tells me that the page dns/test.html does not exist, and that the
reference occurred in the index page for that directory (the trailing /)
On our production server, I run the rundig script, with output (stdout
and stderr) emailed to the webmaster account:
0 2 * * * /usr/sbin/rundig 2>&1 | mail -s "HT Dig report" webmaster
This gives me the stats from htdig and htmerge and also the errors from
htdig.
> -----Original Message-----
> From: Budd, S. [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, August 29, 1998 4:19 AM
> To: '[EMAIL PROTECTED]'
> Subject: htdig: finding pages which reference particular servers
>
> I have not figured out how to locate a page which
> makes reference to a particular server.
>
> We have indexed a site and find that there
> are several servers indicated in the "New Server" lines of the log
> which clearly are typo's in somebody's page somewhere on the site.
>
> How can I do a search for this reference to the server and thus
> discover the
> page with the incorrect URL?
>
> Thanks
> Sinclair Budd
> [EMAIL PROTECTED]
>
>
> ----------------------------------------------------------------------
> To unsubscribe from the htdig mailing list, send a message to
> [EMAIL PROTECTED] containing the single word "unsubscribe" in
> the body of the message.
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the body of the message.