ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yuri Borunov <lists4r@pochtamt.ru>
To: "Evgeniy Kobzev" <evgenik@diamonds.ru>
Cc: mandrake-russian@altlinux.ru
Subject: Re[2]: [mdk-re] apache htaccess - zadolbal
Date: Mon Apr  8 10:52:10 2002
Message-ID: <1293962798.20020408105509@pochtamt.ru> (raw)
In-Reply-To: <003401c1debe$8dbb4f20$6600a8c0@ruis.ru>

Hello Evgeniy,

Monday, April 08, 2002, 9:30:54 AM, you wrote:

EK> ----- Original Message -----
EK> From: "Dmitry Lebkov" <dima@sakhalin.ru>
EK> To: <mandrake-russian@altlinux.ru>
EK> Sent: Monday, April 08, 2002 8:28 AM
EK> Subject: Re: [mdk-re] apache htaccess - zadolbal


>> On Mon, 08 Apr 2002 08:21:33 +0400
>> "Carry Ram" <hexacon@mail.ru> wrote:
>>
>> > Честное слово, битва с апачем продолжается уже дня два!
>> > Задачка: хостюсь у товарисча, хочу ограничить доступ из web ч/з апач к
EK> одной
>> > папочке на сайте по ip, т.е. типа пущать только из подсети 192.186.0, и
EK> больше
>> > никого не пущать.
>> > Ложу файлик .htaccess в эту папочку. Прописываю в нем:
>> > .htaccess
>> > <Limit>
>> > Allow from 192.186.0
>> > Deny from all
>> > </Limit>
>> >
>> > httpd.conf
>> > <Directory /та/где/лежит/хтаксесс>
>> > Allow override ALL
>> > <Directory>
>> >
>> > И все, звиздец, в этут папочку больше не пускает апач ВООбще ни кого,
EK> даже из
>> > 192.186.0
>> > Доки уже излазили вдоль и поперек - нифига не получается.
>> >
>> 'Allow override ALL' и 'AllowOverride All' - две большие разницы. В первом
EK> случае
>> - неверный синтакс директивы Allow, во вотором - разрешение на
EK> переопределение всех
>> директив доступа. Подробности - в документации на Apach.

EK> И плюс ко всему последовательность deny и allow, по моему, имеет значение.
EK> Последовательность выполнения регулируется директивой Order.
EK> В данном случае вначеле мы разрешили вход из 192.186.0
EK> а потом запретили всем, включая 192.186.0
Попробуйте добавить Order allow,deny.
Может помочь.


EK> Поправьте, если не прав.







-- 
Best regards,Yuri Borunov
mailto:lists4r@pochtamt.ru




  reply	other threads:[~2002-04-08 10:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-08  8:18 Carry Ram
2002-04-08  8:26 ` Dmitry Lebkov
2002-04-08  9:27   ` Evgeniy Kobzev
2002-04-08 10:52     ` Yuri Borunov [this message]
2002-04-08 18:33     ` Re[2]: " 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             ` [mdk-re] " Artem K. Jouravsky
2002-04-09 19:01               ` 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=1293962798.20020408105509@pochtamt.ru \
    --to=lists4r@pochtamt.ru \
    --cc=evgenik@diamonds.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