ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <slava@tangramltd.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Apache2 и PHP5
Date: Mon, 08 Dec 2008 20:39:04 +0200
Message-ID: <493D69C8.6050005@tangramltd.com> (raw)
In-Reply-To: <493D65DF.80700@yandex.ru>

[-- Attachment #1: Type: text/plain, Size: 1757 bytes --]

russian-linuxoid@yandex.ru пишет:
> Здравствуйте. Я использую branch 4.1. Поставил сабж
> при попытке выполнить в браузере http://localhost/info.php
> (сам файл лежит в /var/www/apache2/html/info.php с правами 611
> с содержимым:
> <?php phpinfo(); ?>
> /var/www/apache2/html
> такая ругань в логах:
> syslog:
> Dec  7 22:11:12 localhost suhosin[13441]: ALERT - function within
> blacklist called: phpinfo()
> (attacker '127.0.0.1', file '/var/www/apache2/html/info.php', line 1)
>
> httpd2 error log:
> [Sun Dec 07 22:11:14 2008] [error] [client 127.0.0.1] ALERT - function
> within blacklist called: phpinfo() (attacker '127.0.0.1', file
> '/var/www/apache2/html/info.php', line 1)
> [Sun Dec 07 22:11:14 2008] [error] [client 127.0.0.1] PHP Warning:
> phpinfo() has been disabled for security reasons in
> /var/www/apache2/html/info.php on line 1
> [Mon Dec 08 07:16:43 2008] [notice] caught SIGTERM, shutting down
> [Mon Dec 08 20:45:38 2008] [notice] Apache/2.2.8 (Unix) PHP5/5.2.5 with
> Suhosin-Patch configured -- resuming normal operations
>
> Собственно говоря, что это?
>   
Это означает что данные функции находятся в blacklist как не безопасные.
Для управления этим хозяйством существует control
Выполните команду
# control apache2-mod_php5 public

> И где на сегодняшний день в бранче 4.1 следует располагать на локальной
> машине каталоги со своими сайтами?
>   
/var/www/vhosts/

-- 
WBR,
Dubrovskiy Vyacheslav


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3262 bytes --]

  parent reply	other threads:[~2008-12-08 18:39 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-08 18:22 russian-linuxoid
2008-12-08 18:35 ` Denis S. Kostin
2008-12-08 18:39 ` Slava Dubrovskiy [this message]
2008-12-08 18:52   ` russian-linuxoid
2008-12-08 19:27     ` Slava Dubrovskiy
2008-12-08 19:47       ` russian-linuxoid
2008-12-09  5:41         ` Ilis
2008-12-09 17:49           ` russian-linuxoid
2008-12-10  6:15             ` Ilis
2008-12-13 20:22             ` [Comm] Apache " Michael Shigorin
2008-12-16 19:41               ` russian-linuxoid
2008-12-16 21:53                 ` Slava Dubrovskiy
2009-01-02 14:40                 ` Michael Shigorin
2008-12-16 20:00 ` [Comm] Apache2 " russian-linuxoid
2008-12-16 20:04   ` russian-linuxoid
2008-12-17 18:34   ` russian-linuxoid
2008-12-17 18:59     ` Denis Nazarov
2008-12-18 19:07       ` russian-linuxoid
2008-12-19  4:28         ` Denis Nazarov
2008-12-19 17:17           ` russian-linuxoid
2008-12-19  7:02         ` alisher
2008-12-19 17:13           ` russian-linuxoid
2008-12-20  9:49             ` Хихин Руслан
2008-12-20 16:21               ` russian-linuxoid
2008-12-20 19:29                 ` Хихин Руслан
2009-01-13 11:50 ` Konstantin
2009-01-13 14:58   ` Alexey I. Froloff
2009-01-13 17:19     ` Konstantin
2009-01-13 17:27       ` Alexey I. Froloff
2009-01-13 22:35         ` kipruss
2009-01-14  7:14           ` Konstantin
2009-01-14  9:49             ` Slava Dubrovskiy
2009-01-14 10:05               ` Konstantin Baev
2009-01-14 10:14             ` Aleksey Avdeev
2009-01-18 14:53             ` Vyatcheslav Perevalov
2009-01-21 11:33               ` Konstantin Baev
2009-01-21 17:14                 ` Vyatcheslav Perevalov
2009-01-21 21:57                   ` Konstantin Baev
2009-01-22 14:18                     ` Aleksey Avdeev
2009-01-14 10:17       ` Aleksey Avdeev

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=493D69C8.6050005@tangramltd.com \
    --to=slava@tangramltd.com \
    --cc=community@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 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