przeglądałem pliki konfiguracyjne squida i raczej nie widzę żadnych nieprawidłowości w moim, ale proszę o przeglądnięcie go forumowiczów:
Po wydaniu komendy:#ilosc ramu:
cache_mem 256 MB
#maksymalny plik zapisywany na dysku:
store_avg_object_size 256 kB
cache_access_log /var/log/squid/access.log
######################
#tutaj podajesz siec
acl all src 192.168.1.0/255.255.255.0
# tutaj wpisujesz wszystkich userow
acl user1 src 192.168.1.10
acl user2 src 192.168.1.11
acl user3 src 192.168.1.12
acl user4 src 192.168.1.13
...
acl user21 src 192.168.1.30
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 21 70 80 210 443 563 1025-65535
acl CONNECT method CONNECT
############################
#tutaj wpisujesz userow ktorym chodza strony www
http_access allow user1
http_access allow user2
http_access allow user3
http_access allow user4
...
http_access allow user21
##########################
icp_access allow all
miss_access allow all
cache_mgr adres_email@domena.pl
http_port 3128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
error_directory /usr/share/squid/errors/Polish
visible_hostname http://www.domena.com.pl
log_fqdn on
log_mime_hdrs on
ident_lookup_access allow all localhost SSL_ports Safe_ports CONNECT
#1000 oznacza 1000mb dysku dla squida
cache_dir ufs /var/spool/squid 1000 16 256
Kod: Zaznacz cały
squid -z
Podobnie po:2008/05/01 00:58:56| parseConfigFile: line 65 unrecognized: 'httpd_accel_host virtual'
2008/05/01 00:58:56| parseConfigFile: line 66 unrecognized: 'httpd_accel_port 80'
2008/05/01 00:58:56| parseConfigFile: line 67 unrecognized: 'httpd_accel_with_proxy on'
2008/05/01 00:58:56| parseConfigFile: line 68 unrecognized: 'httpd_accel_uses_host_header on'
Kod: Zaznacz cały
/etc/init.d/squid start
Squid się uruchamia i chodzi:Starting Squid HTTP proxy: squid2008/05/01 01:05:16| parseConfigFile: line 65 unrecognized: 'httpd_accel_host virtual'
2008/05/01 01:05:16| parseConfigFile: line 66 unrecognized: 'httpd_accel_port 80'
2008/05/01 01:05:16| parseConfigFile: line 67 unrecognized: 'httpd_accel_with_proxy on'
2008/05/01 01:05:16| parseConfigFile: line 68 unrecognized: 'httpd_accel_uses_host_header on'
.
.