From: Dmitry Lebkov <dima@sakhalin.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Re: Apache help need
Date: Wed, 12 Nov 2003 14:55:42 +1000
Message-ID: <20031112145542.7dff1e80.dima@sakhalin.ru> (raw)
In-Reply-To: <20031112091822.5e84643f.gosha@zkb.ru>
On Wed, 12 Nov 2003 09:18:22 +0500
Gosha <gosha@zkb.ru> wrote:
> Hi!
> On Tue, 11 Nov 2003 14:45:22 +0500
> Shawkat Nizamov <shawkat@samitc.uzsci.net> wrote:
>
> > >Однако другая проблема - ввожу имя и пароль. Не пущает. :-(
> > >Имя и пароль естественно правильные. Те что в .htaccess и .htpasswd.
> > >
> > Смотрите, что пишется в логах апача насчет авторизации
>
> Ну в общем-то все понятно стало:
> (13)Permission denied: Could not open
> password file: /var/www/html/.htpasswd
>
> Было так:
>
> # ls -l /var/www/html/.htpasswd
> -rw-r----- 1 root webmaste...
>
> Изменил на:
>
> # ls -l /var/www/html/.htpasswd
> -rw-r--r-- 1 root webmaste...
>
> Все заработало.
> Вот только правильно ли я сделал с точки зрения безопасности?
> Ведь теперь этот файл доступен для чтения абсолютно всем.
Дык отдай его во владение вебмастеру и на чтение только апачу
и убери 'чтение для всех':
# chown webmaster.apache .htpasswd
# chmod 640 .htpasswd
--
WBR, Dmitry Lebkov
next prev parent reply other threads:[~2003-11-12 4:55 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-03 5:07 [Comm] " Gosha
2003-11-03 7:08 ` [Comm] " Konstantin Lepikhov
2003-11-03 13:27 ` Igor Solovyov
2003-11-05 6:44 ` Shawkat Nizamov
2003-11-05 15:10 ` Igor Solovyov
2003-11-06 5:36 ` Shawkat Nizamov
2003-11-06 13:18 ` Igor Solovyov
2003-11-07 5:34 ` Shawkat Nizamov
2003-11-08 6:35 ` Igor Solovyov
2003-11-08 7:17 ` Shawkat Nizamov
2003-11-08 12:33 ` Igor Solovyov
2003-11-10 5:26 ` Shawkat Nizamov
2003-11-10 15:17 ` Igor Solovyov
2003-11-10 16:03 ` Dmitry Lebkov
2003-11-11 4:30 ` Gosha
2003-11-11 4:48 ` Gosha
2003-11-11 9:45 ` Shawkat Nizamov
2003-11-12 4:18 ` Gosha
2003-11-12 4:55 ` Dmitry Lebkov [this message]
2003-11-12 13:11 ` Igor Solovyov
2003-11-12 13:20 ` Leonid B. Sysoletin
2003-11-12 13:39 ` Igor Solovyov
2003-11-12 13:54 ` Dmitry Nechaev
2003-11-13 0:12 ` Dmitry Lebkov
2003-11-12 5:04 ` Shawkat Nizamov
2003-11-12 13:13 ` Igor Solovyov
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=20031112145542.7dff1e80.dima@sakhalin.ru \
--to=dima@sakhalin.ru \
--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