* [Sysadmins] htaccess & apache2
@ 2008-07-03 8:37 Алексей Шенцев
2008-07-03 8:45 ` Mixo
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Алексей Шенцев @ 2008-07-03 8:37 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Всем привет!
имеем
apache2-2.2.8-alt1
в папке /var/www/apache2/html/mypages/
лежит файл .htaccess:
Order Deny,Allow
Deny from all
#Allow from 192.168.2.135
Allow from 192.168.2.78
Allow from 192.168.2.14
Однако с 192.168.2.135 пускает, пускает с любого ip. Что я не так делаю?
--
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Sysadmins] htaccess & apache2
2008-07-03 8:37 [Sysadmins] htaccess & apache2 Алексей Шенцев
@ 2008-07-03 8:45 ` Mixo
2008-07-03 9:44 ` Алексей Шенцев
2008-07-03 8:48 ` Peter Evdokimov
2008-07-03 8:51 ` Serge
2 siblings, 1 reply; 10+ messages in thread
From: Mixo @ 2008-07-03 8:45 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
А в AllowOverride на этот дир, наверное None ?
http://www.apache.ru/docs/fishki.html#AllowOverride
-----Original Message-----
From: sysadmins-bounces@lists.altlinux.org [mailto:sysadmins-bounces@lists.altlinux.org] On Behalf Of Алексей Шенцев
Sent: Thursday, July 03, 2008 11:37 AM
To: ALT Linux sysadmin discuss
Subject: [Sysadmins] htaccess & apache2
Всем привет!
имеем
apache2-2.2.8-alt1
в папке /var/www/apache2/html/mypages/
лежит файл .htaccess:
Order Deny,Allow
Deny from all
#Allow from 192.168.2.135
Allow from 192.168.2.78
Allow from 192.168.2.14
Однако с 192.168.2.135 пускает, пускает с любого ip. Что я не так делаю?
--
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845
_______________________________________________
Sysadmins mailing list
Sysadmins@lists.altlinux.org
https://lists.altlinux.org/mailman/listinfo/sysadmins
!DSPAM:486c8fc5117101768619253!
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Sysadmins] htaccess & apache2
2008-07-03 8:37 [Sysadmins] htaccess & apache2 Алексей Шенцев
2008-07-03 8:45 ` Mixo
@ 2008-07-03 8:48 ` Peter Evdokimov
2008-07-03 9:44 ` Алексей Шенцев
2008-07-03 8:51 ` Serge
2 siblings, 1 reply; 10+ messages in thread
From: Peter Evdokimov @ 2008-07-03 8:48 UTC (permalink / raw)
To: sysadmins
On Thu, 3 Jul 2008 12:37:03 +0400
Алексей Шенцев wrote:
> лежит файл .htaccess:
> Order Deny,Allow
Order Allow,Deny ?
> Deny from all
> #Allow from 192.168.2.135
> Allow from 192.168.2.78
> Allow from 192.168.2.14
>
> Однако с 192.168.2.135 пускает, пускает с любого ip. Что я не так
> делаю?
sy,
peter
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Sysadmins] htaccess & apache2
2008-07-03 8:48 ` Peter Evdokimov
@ 2008-07-03 9:44 ` Алексей Шенцев
0 siblings, 0 replies; 10+ messages in thread
From: Алексей Шенцев @ 2008-07-03 9:44 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
В сообщении от Thursday 03 July 2008 12:48:37 Peter Evdokimov написал(а):
> On Thu, 3 Jul 2008 12:37:03 +0400
>
> Алексей Шенцев wrote:
> > лежит файл .htaccess:
> > Order Deny,Allow
>
> Order Allow,Deny ?
Без разницы.
--
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Sysadmins] htaccess & apache2
2008-07-03 8:37 [Sysadmins] htaccess & apache2 Алексей Шенцев
2008-07-03 8:45 ` Mixo
2008-07-03 8:48 ` Peter Evdokimov
@ 2008-07-03 8:51 ` Serge
2 siblings, 0 replies; 10+ messages in thread
From: Serge @ 2008-07-03 8:51 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
В сообщении от Thursday 03 July 2008 11:37:03 Алексей Шенцев написал(а):
> Всем привет!
> имеем
> apache2-2.2.8-alt1
> в папке /var/www/apache2/html/mypages/
> лежит файл .htaccess:
> Order Deny,Allow
> Deny from all
> #Allow from 192.168.2.135
> Allow from 192.168.2.78
> Allow from 192.168.2.14
>
> Однако с 192.168.2.135 пускает, пускает с любого ip. Что я не так делаю?
посмотри в конфигурационном файле апача для каталога опцию: AllowOverride All
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-07-03 11:53 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-03 8:37 [Sysadmins] htaccess & apache2 Алексей Шенцев
2008-07-03 8:45 ` Mixo
2008-07-03 9:44 ` Алексей Шенцев
2008-07-03 10:40 ` Пустовит Михаил Анатольевич
2008-07-03 11:01 ` Алексей Шенцев
2008-07-03 11:38 ` Mixo
2008-07-03 11:53 ` Алексей Шенцев
2008-07-03 8:48 ` Peter Evdokimov
2008-07-03 9:44 ` Алексей Шенцев
2008-07-03 8:51 ` Serge
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git