User Tools

Site Tools


ubuntuserver810:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntuserver810:start [2009/08/16 11:20] svschwartzubuntuserver810:start [2010/06/20 14:56] (current) svschwartz
Line 30: Line 30:
  
 ===== Http Proxy - Squid ===== ===== Http Proxy - Squid =====
 +
 +Аутентификация учетных записей ldap
 +<code>
 +auth_param basic program /usr/lib/squid/ldap_auth -b "ou=Users,dc=site,dc=ru" -v 3 -h localhost
 +auth_param basic children 5
 +auth_param basic realm Proxy Server Authentication
 +auth_param basic credentialsttl 2 hours
 +auth_param basic casesensitive off
 +</code>
 +
 +Поправим график ротации логов прокси сервера /etc/logrotate.d/squid
 +<code>
 +#
 +#       Logrotate fragment for squid.
 +#
 +/var/log/squid/*.log {
 +        monthly
 +        compress
 +        rotate 20
 +        missingok
 +        nocreate
 +        sharedscripts
 +        postrotate
 +                test ! -e /var/run/squid.pid || /usr/sbin/squid -k rotate
 +        endscript
 +}
 +
 +</code>
  
 ==== stats ==== ==== stats ====
ubuntuserver810/start.1250421633.txt.gz · Last modified: (external edit)