From: Vladimir Lettiev <crux@syktsu.ru>
To: community@altlinux.ru
Subject: Re: [Comm] httpd или httpd-perl ?
Date: Tue, 24 Aug 2004 16:31:30 +0400
Message-ID: <412B3522.2080704@syktsu.ru> (raw)
In-Reply-To: <20040824143937.0544d4b3.belpak@mail.ru>
Valery Glukhov wrote:
> Нужно поставить веб-сервер, но после установки системы (Master 2.2) chkconfig --list выдал присутствие двух httpd демонов.
> httpd и httpd-rerl. За что отвечает httpd-rerl? В каком случае и какой из них запускать для рабоспособного web-сервера?
>
httpd-perl появляется при установке пакета mod_perl. mod_perl ускоряет
работу perl-скриптов и снижает нагрузку на сервер за счёт того, что
интерпретатор perl'а присутствует в самом демоне (не нужно форкать
отдельный процесс perl'а) и скрипт после первой компиляции остаётся в
памяти для последующего использования. httpd и httpd-perl имеют разные
конфигурационые файлы.
Не каждый perl-скрипт будет работать (корректно) при использовании
mod_perl, т.к. предъявляются определённые требования (самое простое -
подключать модули CGI и strict и все переменные инициализировать в
начале скрипта).
Есть ещё много интересных фич mod_perl, о которых можно почитать на
http://perl.apache.org.
Вобщем-то звучала как-то фраза, что если вы чего-то не знаете, то это
вам и не нужно. Так что можете спокойно удалить mod_perl, скорее всего
он вам не нужен.
--
С уважением, Владимир Леттиев aka crux <crux@syktsu.ru>
prev parent reply other threads:[~2004-08-24 12:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-24 11:39 Valery Glukhov
2004-08-24 12:31 ` Vladimir Lettiev [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=412B3522.2080704@syktsu.ru \
--to=crux@syktsu.ru \
--cc=community@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