Serveur proxy

dams90 Messages postés 1 Statut Membre -  
foobar47 Messages postés 13654 Statut Contributeur -
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

  1. foobar47 Messages postés 13654 Statut Contributeur 534
     
    Bonjour,

    Peux-tu nous communiquer ton fichier de configuration squid svp.
    0
  2. dams90
     
    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