From: LIO <lionews@mail.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] apacge2 & auth
Date: Fri, 28 Sep 2007 13:44:52 +0400
Message-ID: <1915042600.20070928134452@mail.ru> (raw)
In-Reply-To: <200709281316.32639.ashen@nsrz.ru>
Здравствуйте.
28.09.2007 13:16 Алексей wrote:
АШ> В сообщении от Friday 28 September 2007 11:05:20 LIO написал(а):
>> <Directory "то, что в DocumentRoot">
>> #необходимо
>> AllowOverride AuthConfig Limit Options
>> #рекомендую
>> Options None
>> Order deny,allow
>> Deny from all
>> </Directory>
АШ> Да с этим разобрался. А вот теперь такой вопрос:
АШ> в .htaccess пишу такую строчку:
АШ> AuthUserFile /var/www/apache2/html/reports/dspam/.htpasswd
АШ> В логе апача вижу:
АШ> /var/www/apache2/html/reports/dspam/.htaccess: Invalid command 'AuthUserFile',
АШ> perhaps misspelled or defined by a module not included in the server
АШ> configuration
АШ> Что сделал не правильно?
Смотри первое сообщение и используй как пример:
====
# Basic authorization: sh$ htpasswd .htpasswd username
AuthType Basic
AuthUserFile /var/www/html/.htpasswd
# Per IP allowing
Order deny,allow
Allow from 127.0.0.1
Deny from all
Satisfy any
====
--
Binary yours,
LIO
next prev parent reply other threads:[~2007-09-28 9:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-28 5:51 Алексей Шенцев
2007-09-28 6:06 ` LIO
2007-09-28 6:33 ` Алексей Шенцев
2007-09-28 7:05 ` LIO
2007-09-28 9:16 ` Алексей Шенцев
2007-09-28 9:44 ` LIO [this message]
2007-09-28 9:52 ` Avramenko Andrew
2007-09-28 14:04 ` Алексей Шенцев
2007-10-01 8:00 ` Aleksey Avdeev
2007-10-01 8:24 ` Алексей Шенцев
2007-09-28 6:29 ` Avramenko Andrew
2007-09-28 6:37 ` Алексей Шенцев
2007-09-28 6:46 ` Avramenko Andrew
2007-09-28 6:53 ` Алексей Шенцев
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=1915042600.20070928134452@mail.ru \
--to=lionews@mail.ru \
--cc=sysadmins@lists.altlinux.org \
/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 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