ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: Community@altlinux.ru
Subject: [Comm] Re: Аутентификация в апаче
Date: Sat, 12 Mar 2005 16:54:34 +0200
Message-ID: <20050312145434.GD5188@osdn.org.ua> (raw)
In-Reply-To: <E1DA3cd-000M7U-00.mlists-list-ru@f22.mail.ru>

On Sat, Mar 12, 2005 at 01:13:27PM +0300, Алексей Данилович  wrote:
> В конфиге апача есть следующие строки
> user apache
> group apache
> DocumentRoot "/var/www/html/sites/some-site"
> <Directory />
>     Options FollowSymLinks
>     #AllowOverride None
>     AllowOverride AuthConfig
> </Directory>
> Alias /aaa "/var/www/html/sites/aaa/"
>    <Location "/aaa">
>         AuthName "Restricted area:"
> 	AuthType Basic
> 	AuthUserFile /var/www/html/sites/passwords/.aaa
> 	require valid-user
>    </Location>
> Файл .ааа принадлежит пользователю apache. права на нем 750. 
> При попытке зайти на страницу ругается:
> [Sat Mar 12 12:56:11 2005] [error] (25)Inappropriate ioctl for device: access to /aaa/ failed for xxx.xxx.xxx.xxx, reason: Authentication service cannot retrieve authentication info.
> подскажите, почему? Замучался уже.

Ух ты как интересно.  У меня, правда, не Location создаётся, а
.htaccess валяется в нужном месте обычно, но -- работает.

Может, su - -c /bin/bash apache и проверить читаемость всё-таки?

Может (надеюсь), доступ к /var/www/html/sites/passwords/ вообще
ограничен отдельными директивами? (вообще-то хранить в вебруте
пароли -- плохая практика)

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  reply	other threads:[~2005-03-12 14:54 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-12 10:13 [Comm] " Алексей Данилович 
2005-03-12 14:54 ` Michael Shigorin [this message]
2005-03-12 16:41   ` [Comm] " Алексей Данилович
2005-03-12 16:48     ` Andrey Rahmatullin
2005-03-12 17:17     ` Michael Shigorin
2005-03-13 21:13       ` Алексей Данилович
2005-03-14  4:09         ` Ivan Fedorov
2005-03-14 12:09         ` Michael Shigorin
2005-03-15 14:58           ` Алексей Данилович
2005-03-15 16:46             ` Michael Shigorin
2005-03-15 18:14               ` Алексей Данилович
2005-03-16  9:38                 ` Michael Shigorin
2005-03-16 14:12                   ` Алексей Данилович
2005-03-16 17:20                     ` Michael Shigorin
2005-03-16 17:54                       ` Алексей Данилович
2005-03-16 18:03                         ` Michael Shigorin
2005-03-16 20:53                           ` Алексей Данилович
2005-03-17  8:21                             ` 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=20050312145434.GD5188@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=Community@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