Serveur proxy

Fermé
dams90 Messages postés 1 Date d'inscription lundi 18 avril 2011 Statut Membre Dernière intervention 18 avril 2011 - 18 avril 2011 à 10:37
foobar47 Messages postés 13536 Date d'inscription jeudi 9 janvier 2003 Statut Contributeur Dernière intervention 16 mai 2014 - 19 avril 2011 à 16:47
Bonjour,

J'ai un problème sur VMARE avec un serveur proxy ubuntu et un client xp pro.
Je relance le squid et voilà ce qui l'affiche (j'ai passer toute une journée sur ie a chercher mais pas trouvé....)

[sudo] password for administrateur:
* Restarting Squid HTTP proxy squid * Creating squid spool directory structure
2011/04/18 01:24:59| parseConfigFile: line 1 unrecognized: 'visible hostname ubuntu'
2011/04/18 01:24:59| parseConfigFile: line 6 unrecognized: 'cache_access_log/var/log/squid/access.log'
2011/04/18 01:24:59| parseConfigFile: line 7 unrecognized: 'cache_log/var/log/squid/cache.log'
2011/04/18 01:24:59| parseConfigFile: line 8 unrecognized: 'cache_store_log/var/log/squid/store.log'
2011/04/18 01:24:59| strtokFile: listenoire/blocage not found
2011/04/18 01:24:59| aclParseAclLine: WARNING: empty ACL: acl blocage url_regex -i "listenoire/blocage"
2011/04/18 01:24:59| strtokFile: listenoire/accepte not found
2011/04/18 01:24:59| aclParseAclLine: WARNING: empty ACL: acl accepte url_regex -i "listenoire/accepte"
2011/04/18 01:24:59| parseConfigFile: line 11 unrecognized: 'httpd_accel_host virtual'
2011/04/18 01:24:59| parseConfigFile: line 12 unrecognized: 'httpd_accel_port 80'
2011/04/18 01:24:59| parseConfigFile: line 13 unrecognized: 'httpd_accel_with_proxy on'
2011/04/18 01:24:59| parseConfigFile: line 14 unrecognized: 'httpd_accel_uses_host_header on'
2011/04/18 01:24:59| ACL name 'all' not defined!
FATAL: Bungled squid.conf line 16: http_access deny all
Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
2011/04/18 01:24:59| parseConfigFile: line 1 unrecognized: 'visible hostname ubuntu'
2011/04/18 01:24:59| parseConfigFile: line 6 unrecognized: 'cache_access_log/var/log/squid/access.log'
2011/04/18 01:24:59| parseConfigFile: line 7 unrecognized: 'cache_log/var/log/squid/cache.log'
2011/04/18 01:24:59| parseConfigFile: line 8 unrecognized: 'cache_store_log/var/log/squid/store.log'
2011/04/18 01:24:59| strtokFile: listenoire/blocage not found
2011/04/18 01:24:59| aclParseAclLine: WARNING: empty ACL: acl blocage url_regex -i "listenoire/blocage"
2011/04/18 01:24:59| strtokFile: listenoire/accepte not found
2011/04/18 01:24:59| aclParseAclLine: WARNING: empty ACL: acl accepte url_regex -i "listenoire/accepte"
2011/04/18 01:24:59| parseConfigFile: line 11 unrecognized: 'httpd_accel_host virtual'
2011/04/18 01:24:59| parseConfigFile: line 12 unrecognized: 'httpd_accel_port 80'
2011/04/18 01:24:59| parseConfigFile: line 13 unrecognized: 'httpd_accel_with_proxy on'
2011/04/18 01:24:59| parseConfigFile: line 14 unrecognized: 'httpd_accel_uses_host_header on'
2011/04/18 01:24:59| ACL name 'all' not defined!
FATAL: Bungled squid.conf line 16: http_access deny all
Squid Cache (Version 2.6.STABLE18): Terminated abnormally.

Merci d'avance !

4 réponses

foobar47 Messages postés 13536 Date d'inscription jeudi 9 janvier 2003 Statut Contributeur Dernière intervention 16 mai 2014 532
18 avril 2011 à 11:47
Bonjour,

Peux-tu nous communiquer ton fichier de configuration squid svp.
0
Re oui le voilà :


visible hostname ubuntu
http_port 3128
cache_mem 64 MB
maximum_object_size 4096 KB
cache_dir ufs /var/spool/squid 100 16 256
cache_access_log/var/log/squid/access.log
cache_log/var/log/squid/cache.log
cache_store_log/var/log/squid/store.log
acl blocage url_regex -i "listenoire/blocage"
acl accepte url_regex -i "listenoire/accepte"
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
0
up ?
up !
0
foobar47 Messages postés 13536 Date d'inscription jeudi 9 janvier 2003 Statut Contributeur Dernière intervention 16 mai 2014 532
19 avril 2011 à 16:47
visible hostname ubuntu

ce n'est pas plutôt :

visible_hostname ubuntu

cf : http://www.squid-cache.org/Doc/config/visible_hostname/
0