From: "Carry Ram" <hexacon@mail.ru> To: mandrake-russian@altlinux.ru Subject: Re[2]: [mdk-re] apache htaccess - zadolbal Date: Tue Apr 9 09:04:02 2002 Message-ID: <E16unnL-000ErL-00@f5.mail.ru> (raw) In-Reply-To: <3CB1B8BB.2000302@grsu.unibel.by> >>>>Честное слово, битва с апачем продолжается уже дня два! >>>>Задачка: хостюсь у товарисча, хочу ограничить доступ из web ч/з апач к одной папочке на сайте по ip, т.е. типа пущать только из подсети 192.186.0, и больше никого не пущать. -------------------------------------------------------->% cutted >> OK. Получается мне нужно изменить .htaccess так? >> .htaccess >> <Limit> >> Order Deny, Allow >> Deny from all >> Allow from 192.186.0 >> </Limit> > >Да > Проверил - все работает, но трабл оказывается был еще и в том (сегодня посмотрел логи), что апач не хотел читать этот файл пока у него были права "640", а после установки "644" он стал доступен для чтения всем кто лезет на сайт :( Это глюк апача? Решил пока этот вопрос добавкой в .htaccess: ... <Files ".htaccess"> Order allow,deny Deny from all </Files> Но запрет на чтение файлов .htaccess должен ведь отрабатываться строчкой: httpd.conf ... AccessFileName .htaccess ... или установка AllowOverride ALL для этого каталога отменяет и ЭТО?
next prev parent reply other threads:[~2002-04-09 9:04 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 ` 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 ` Carry Ram [this message] 2002-04-09 9:20 ` Re[2]: " 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=E16unnL-000ErL-00@f5.mail.ru \ --to=hexacon@mail.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