apache has fallen [and it won't get up]

Melvyn Sopacua freebsd-questions at webteckies.org
Sun Nov 30 17:16:54 PST 2003


On Monday 01 December 2003 01:39, Marty Landman wrote:


> >I think typing:
> >host delliver.mshome.net
> >
> >*on that machine* doesn't give a valid ip address or an adress that is not
> > on the workstation.
>
> Actually I got the corrent ip's for each of my four windoz boxes by
> querying each with their name on mshome.net.
>
> >Since you're refering to 'ics' I guess you're gateway is an MS box and
> >doesn't
> >run DNS or a DNS forwarder at best.
>
> Right, I think. It's a windoz xp home edition box getting dns via dial-up.
> At least I think I'm saying that correctly.

I checked your original message again. It says something about some 
SwamiSalami hostname. Is that by any chance the 'ServerName' of the main 
server? That is what mod_unique_id is trying to resolve. If no ServerName is 
set, it takes the hostname of the computer.

> The apache manual entry for mod_unique_id didn't say a whole lot. This must
> be a default and I wonder if it's something I will eventually miss. What's
> it do, or can you point to a more in depth explanation I can read?

It creates a unique id for every request. This is used by mod_usertrack to 
generate a session id.

There are some other modules that also use this feature, but I can't think of 
any off-hand. It's also convenient if you use an log-analyzer that checks 
whether there are duplicate lines. You can log the created id in a separate 
field and thus make sure that "the same file requested twice within a second, 
from the same host, by the same browser" (think "/images/spacer.gif") is 
something else then "a duplicate logline in the file".

In a nutshell: if you don't care about mod_usertrack or wrongly detected 
duplicate loglines, you have no use for mod_unique_id. Any other apache 
module requiring it, will complain soon enough, but since you have it running 
without - you seem to have no such dependency.

-- 
Melvyn

=======================================================
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003     root at sarevok.webteckies.org:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
=======================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031201/c02e5e0a/attachment.bin


More information about the freebsd-questions mailing list