ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Artem K. Jouravsky" <ujo@ifirst.ru>
To: mandrake-russian@altlinux.ru
Subject: [mdk-re] Re: apache htaccess - zadolbal
Date: Tue Apr  9 14:26:16 2002
Message-ID: <20020409102451.GB24605@ifirst.ru> (raw)
In-Reply-To: <E16urj1-000KHZ-00@f10.mail.ru>

On Tue, Apr 09, 2002 at 01:15:39PM +0400, Carry Ram wrote:
> >> Проверил - все работает, но трабл оказывается был еще и в том (сегодня
> >> посмотрел логи), что апач не хотел читать этот файл пока у него были права
> >> "640", а после установки "644" он стал доступен для чтения всем кто лезет
> >на
> >> сайт :(
> >> Это глюк апача?
> >> Решил пока этот вопрос добавкой в .htaccess:
> >> ...
> >> <Files ".htaccess">
> >> Order allow,deny
> >> Deny from all
> >> </Files>
> >>
> >> Но запрет на чтение файлов .htaccess должен ведь отрабатываться строчкой:
> >> httpd.conf
> >> ...
> >> AccessFileName .htaccess
> >> ...
> >>
> >> или установка AllowOverride ALL для этого каталога отменяет и ЭТО?
> >
> >А если группу у .htaccess изменить на apache ?
> >Ну и естественно вернуть 640.
А смысл? Всё что может читать Апач, может читать тот кто смотрит через
броузер. Ругалось потому, что Апач не мог прочесть, что же такого
интересного в этом файле - он должен это мочь. Решение было где-то в
стандартном конфиге /etc/httpd/conf/httpd.conf
Насколько я понимаю, эти файлы можно положить/убрать только по фтп (если
эта строка у Вас осталась). У Вас это не так, т.е. при default'ных настройках не
работает?

-- 
Best wishes,
Artem K. Jouravsky,
iFirst Ltd, System Administrator.
-----------------------
Go ahead... make my day.
		-- Dirty Harry



  reply	other threads:[~2002-04-09 14:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-08  8:18 [mdk-re] " Carry Ram
2002-04-08  8:26 ` Dmitry Lebkov
2002-04-08  9:27   ` Evgeniy Kobzev
2002-04-08 10:52     ` Re[2]: " Yuri Borunov
2002-04-08 18:33     ` Carry Ram
2002-04-08 12:26 ` Vladislav Skraschuk
2002-04-08 18:31   ` Re[2]: " Carry Ram
2002-04-08 22:48     ` Vladislav Skraschuk
2002-04-09  9:04       ` Re[2]: " Carry Ram
2002-04-09  9:20         ` Evgeniy Kobzev
2002-04-09 13:17           ` Re[4]: " Carry Ram
2002-04-09 14:26             ` Artem K. Jouravsky [this message]
2002-04-09 19:01               ` [mdk-re] " Carry Ram
2002-04-10 11:23               ` 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=20020409102451.GB24605@ifirst.ru \
    --to=ujo@ifirst.ru \
    --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