ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] [Q]: Apache2 внутри OVZ VPS - проблема с адресами клиентов в логах
Date: Thu, 25 Jan 2007 09:01:11 +1000
Message-ID: <45B7E537.2020906@sakhalin.ru> (raw)
In-Reply-To: <53091.194.85.185.72.1169654242.squirrel@mojo.unsafe.ru>

Konstantin A. Lepikhov wrote:
> <цитата от="Dmitry Lebkov">
>> Доброго времемни суток,
>>
>> apache2 крутится внутри OVZ VPS. С дефолтными настройками в access_log
>> не пишется IP клиента (вернее пишется 0.0.0.0). Добавление в конфиг
>> 'HostnameLookups On' приводит к появлению в логах FQDN-имен. 'Listen 80'
>> вместо 'Listen 192.168.1.1:80' -  в логах IPv6-адреса.
>>
>> Кто-нить уже ходил по этим граблям? Как получить IPv4-адрес клиента в
>> логах? Или таки в bgzilla.altlinux.org?
> а версия ovz-smp какая? Моэете попробовать собрать из

2.6.18-ovz-smp-alt3, но дело явно не в OVZ, а в апаче.

> git.alt/people/lakostis/packages/kernel-source-2.6.18.git, бранч
> kernel-image-ovz-smp, но только релиз -alt5 (-alt6 пока сломан).
> 
> PS Хотя проверил у себя - -alt3 нормально работает. Но у меня логи пишутся
> через rpaf

Таки попробую апач ковыряьт ... Сильно похоже, что эта проблема как-то связана
с поддержкой IPv6 в апаче2.

-- 
WBR, Dmitry Lebkov




      reply	other threads:[~2007-01-24 23:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-24  8:59 Dmitry Lebkov
2007-01-24 15:57 ` [Sysadmins] " Konstantin A. Lepikhov
2007-01-24 23:01   ` Dmitry Lebkov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45B7E537.2020906@sakhalin.ru \
    --to=dima@sakhalin.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git