ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Evgeniy Kobzev" <evgenik@diamonds.ru>
To: <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] apache htaccess - zadolbal
Date: Mon Apr  8 09:27:01 2002
Message-ID: <003401c1debe$8dbb4f20$6600a8c0@ruis.ru> (raw)
In-Reply-To: <20020408152847.63c0557f.dima@sakhalin.ru>

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


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

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

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





  reply	other threads:[~2002-04-08  9:27 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 [this message]
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             ` [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='003401c1debe$8dbb4f20$6600a8c0@ruis.ru' \
    --to=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