[zorp-hu] kliens cimet a http headerbe, hogyan?
Daniel VASARHELYI
zorp-hu@lists.balabit.hu
Wed, 3 Sep 2003 12:15:11 +0200
On Wed, Sep 03, 2003 at 11:52:43AM +0200, Gabor Halasz wrote:
> Ez meggyőzi az apacheot arról, hogy logolja a kliens címét?
Another commonly used format string is called the Combined Log Format.
It can be used as follows.
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined
CustomLog log/acces_log combined
This format is exactly the same as the Common Log Format, with
the addition of two more fields. Each of the additional fields
uses the percent-directive %{header}i, where header can be any
HTTP request header. The access log under this format will look
like:
User-agent helyett kepzeld oda mondjuk a ${X-Userhost} reszt....
Igy gondolom en, aztan majd kiderul, hol a hiba.
asd
--
Daniel VASARHELYI