ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] apacha и пароли
@ 2009-07-28 12:29 Kharitonov A. Dmitry
  2009-07-28 13:30 ` Yury L.Olkov
  2009-07-28 14:46 ` Michael Shigorin
  0 siblings, 2 replies; 14+ messages in thread
From: Kharitonov A. Dmitry @ 2009-07-28 12:29 UTC (permalink / raw)
  To: Sysadmins

Кто подскажет: как в апаче поставить пароль на директорию?

нужно запаролить /var/www/html/lightsquid/admin.
1 создаю /var/www/html/lightsquid/admin/.htaccess
AuthName "lightsquid administrator mode"
AuthType Basic
AuthUserFile /var/www/html/lightsquid/admin/.htpasswd
require user admin

2 создаю /var/www/html/lightsquid/admin/.htpasswd
htpasswd -c /var/www/html/lightsquid/admin/.htpasswd admin

3 пробую зайти ввожу пароль и получаю ошибку 500
смотрю логи:
[Tue Jul 28 15:43:00 2009] [error] (25)Inappropriate ioctl for device: 
access to /lightsquid/admin/user_detail.cgi failed for 192.168.2.1, 
reason: Authentication service cannot retrieve authentication info

У кого какие идеи?






^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-07-29 13:39 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-28 12:29 [Sysadmins] apacha и пароли Kharitonov A. Dmitry
2009-07-28 13:30 ` Yury L.Olkov
2009-07-28 16:58   ` Kharitonov A. Dmitry
2009-07-28 17:21     ` Kharitonov A. Dmitry
2009-07-28 18:16       ` Yury L.Olkov
2009-07-28 20:16         ` Kharitonov A. Dmitry
2009-07-29  7:03           ` Юрий
2009-07-29  9:13             ` Kharitonov A. Dmitry
2009-07-29 10:07               ` Aleksey Avdeev
2009-07-29 10:49                 ` Kharitonov A. Dmitry
2009-07-29 12:37           ` Yury L.Olkov
2009-07-29 12:55             ` Kharitonov A. Dmitry
2009-07-29 13:39               ` [Sysadmins] apache " Michael Shigorin
2009-07-28 14:46 ` Michael Shigorin

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