On Wed, 4 Aug 1999 [EMAIL PROTECTED] wrote:
> 
> I have read this file with my little mental capability of english. I
> have look around in my logfile (apache) and i have found two kind of
> domain names like "localhost" and "server.intrabol.local". With a perl
> script i have change this to "jojo.localhost.de" and
> "server.intrabol.local.de". But i get still the line with [domain not
> given]. I have search for a domain names without a dot, but there is no
> domain without a dot.
> 

Something like "localhost" is usually the problem. If you're using a format
with the host at the beginning of the line, and you have Unix, then the
following command will find all the lines without a dot in the first word,
i.e., all the lines which could give "domain not given".

grep "^[^\.]* " [logfile]

-- 
Stephen Turner    [EMAIL PROTECTED]    http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
  "Due to the conflict in Kosovo, we will not be showing the movie Wag the
   Dog. Instead, we will show Mortal Kombat: Annihilation." Cable & Wireless

------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
------------------------------------------------------------------------

Reply via email to