From: "Nick S. Grechukh" <gns@tpway.com>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Вынос парметров настройки в отдельное место из php скрипта
Date: Fri, 05 May 2006 19:15:59 +0300
Message-ID: <445B7A3F.3000809@tpway.com> (raw)
In-Reply-To: <445B5D52.3030705@altlinux.ru>
Anton Gorlov wrote:
> Nick S. Grechukh пишет:
>
>>> Какие права раздать я знаю..
>> и наверное знаешь, что на config.inc.php права должны быть ничуть не лучше.
> Угу.
>
>>> вопрос больше в том..куда наиболее правильно
>>> положить этот самый config.inc.php
>> пофиг. если ты боишься что доберутся до него через апач - ничего не
>> спасет, потому как апач _должен_ иметь доступ к нему. 'от чужих глаз'
>> локальных - сделай чтобы к htdocs доступ имел только апач.
> Что-то типа
> .htaccess
>
> Order Deny,Allow
> Deny from all
> Allow from localhost
> В дире с конфигом?
ну это да, так его и отдельный файл можно поставить :) и в любом случае
при наличии mod_php GET /config.inc.php не выдаст текст скрипта
prev parent reply other threads:[~2006-05-05 16:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-05 13:32 Anton Gorlov
2006-05-05 15:31 ` Nick S. Grechukh
2006-05-05 13:54 ` Anton Gorlov
2006-05-05 16:02 ` Nick S. Grechukh
2006-05-05 14:12 ` Anton Gorlov
2006-05-05 16:15 ` Nick S. Grechukh [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=445B7A3F.3000809@tpway.com \
--to=gns@tpway.com \
--cc=devel@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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git