From: Alexander Bokovoy <ab@avilink.net>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] statisics
Date: Thu Jun 7 15:35:03 2001
Message-ID: <20010607144513.C19961@main.avilink.net> (raw)
In-Reply-To: <3B1F4297.F37413A9@novocybersk.ru>; from Maxim.Savrilov@novocybersk.ru on Thu, Jun 07, 2001 at 04:00:07PM +0700
On Thu, Jun 07, 2001 at 04:00:07PM +0700, Maxim Savrilov wrote:
> Hi!
> Вопрос к настоящим гуру. Во всяком случае, таким он мне
> представляется.
> Есть хостинг со Spring 2001. Стоит он на площадке, для которой
> исходящий трафик не считается, а входящий считается (ну как
> всегда).
> На нем есть несколько name based виртуальных хостов. (то-есть ip
> у сервера один, а все виртуальные хосты прописаны в DNS как CNAME
> на этот хостинг)
> Так вот входящего трафика на этот сервер набегает за счет http
> запросов до 1500 мегабайт. Соответственно его надо оплачивать.
> Вернее надо распределить его оплату между товарищами, которые
> хостятся. Так вот можно ли это сделать _точно_? Можно, конечно
> считать исходящий по логам, а потом в соответствующей пропорции
> делить входящий, но это не то решение, которое хочется получить в
> плане достоверности. Есть ли возможноcть организовать accounting
> для виртуальных хостов.
> Заранее спасибо за ответ(ы).
Поскольку все находится на одном IP, то подсчет необходимо выполнять на
уровне протокола HTTP, то есть в данной ситуации подсчет через логи есть
практически единственный выход. Ставите в настройках каждого виртуального
хоста свои AccessLog/ErrorLog и считаете через webalizer, например.
--
--
Sincerely yours, Alexander Bokovoy
The Midgard Project | www.midgard-project.org | ALT Linux Team
Minsk Linux Users Group | www.minsk-lug.net | www.altlinux.ru
-- Don't try to have the last word -- you might get it.
-- Lazarus Long
next prev parent reply other threads:[~2001-06-07 15:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-07 12:49 Maxim Savrilov
2001-06-07 14:49 ` Artem Pastuchov
2001-06-07 15:40 ` Maxim Savrilov
2001-06-07 15:58 ` Sergey S. Skulachenko
2001-06-07 16:19 ` Maxim Savrilov
2001-06-07 15:35 ` Alexander Bokovoy [this message]
2001-06-07 16:22 ` Maxim Savrilov
2001-06-07 16:36 ` Alexander Bokovoy
2001-06-07 16:46 ` Maxim Savrilov
2001-06-07 17:00 ` Alexander Bokovoy
2001-06-07 17:12 ` Antonio
2001-06-07 19:42 ` Lenya L. Khachaturov
2001-06-09 16:59 ` Michael Shigorin
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=20010607144513.C19961@main.avilink.net \
--to=ab@avilink.net \
--cc=mandrake-russian@altlinux.ru \
/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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git