* [Comm] Server 4.0 + squid + pam_auth
@ 2007-11-13 7:44 Vitalik Salomatin
0 siblings, 0 replies; only message in thread
From: Vitalik Salomatin @ 2007-11-13 7:44 UTC (permalink / raw)
To: community
В предыдушем письме я спутал задачи. Там больше имспользовано из шпаргалки по
открытию директорий по паролю при псоещении вэб сервера.
Праавильнее так:
В squid найти эти места и вствить
#Recommended minimum configuration:
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
#Recommended minimum configuration:
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl control proxy_auth REQUIRED ######## вставить
#пример для адреса
acl zvezd32 src 10.0.0.32
acl zvezd proxy_auth vova
http_access allow zvezd32 zvezd control
[root@salomatin squid]# htpasswd -c /etc/squid/passwd vova (создание файла паролей с
первым пользователем vova)
[root@salomatin squid]# htpasswd /etc/squid/passwd qq (Создание нового пользователя
qq)
Еще раз сорри за разгильдяйство.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-13 7:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-13 7:44 [Comm] Server 4.0 + squid + pam_auth Vitalik Salomatin
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