Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1637 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  réseaux et sécurité

  SQUID + VHOSTS : Problème d'accès...

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

SQUID + VHOSTS : Problème d'accès...

n°939444
TiCeD
Sex In Your An*s
Posté le 01-08-2007 à 15:16:19  profilanswer
 

Bonjour,  
 
 
Je vous explique mon problème :  
 
J'ai un serveur APACHE 2 ayant quelques vhosts et avant d'installer un serveur DNS j'avais modifier mon fichier /etc/hosts en indiquant une ligne du type :
 
127.0.0.1 cacti
 
Pour pouvoir accéder a Cacti en ne tappant que http://cacti.
 
Bref tout cela marche bien seulement lorsque je configurer mon navigateur pour utiliser mon proxy SQUID, tout marche bien sauf les requetes interne du type : http://cacti.
 
L'erreur :  
---------------------------------------------------------------
The requested URL could not be retrieved
While trying to retrieve the URL : http://cacti
The following error was encountered :  
      Unable to determine IP address from host name for cacti
The dnsserver returned :
      Name Error : The domain name does not exist.
This means that :
      The cache was not able to resolve the hostname presented in the URL
----------------------------------------------------------------

 
D'ou peut bien venir ce probleme ?  
 
Voici mes ACL :
 
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
acl SIYA src 192.168.0.0/255.255.255.0
 
 
Ainsi que mes autorisation :
 
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow SIYA
http_access deny all
 
Merci par avance pour votre aide.

mood
Publicité
Posté le 01-08-2007 à 15:16:19  profilanswer
 

n°939460
Taz
bisounours-codeur
Posté le 01-08-2007 à 16:02:39  profilanswer
 

problème de DNS, rien à voir avec squid.

n°939462
TiCeD
Sex In Your An*s
Posté le 01-08-2007 à 16:08:29  profilanswer
 

Ce que je pensais aussi, sauf que dans mon cas, j'ai indiqué dans mon fichier hosts que cacti se resolvait sur 127.0.0.1
 
Ca marche sans squid, mais des que je start squid, ca marche plus...

n°939749
Taz
bisounours-codeur
Posté le 02-08-2007 à 12:20:41  profilanswer
 

et ton navigateur il est sur ton serveur ?


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  réseaux et sécurité

  SQUID + VHOSTS : Problème d'accès...

 

Sujets relatifs
Probléme Mandriva 2007 installation raté[Debian] Problème d'installation (Serveur X et Disque dur SATA)
Problème Clamav et SpamassassinProblème de jonction au domaine Samba
[Résolu] Problème avec la sortie d'AwstatsMicroserveur: Limiter les acces disques
bloquer accès à internet[mandriva 2006] Problème d'affichage des accents dans le shell
Problème de .htaccess + PleskProblème multi-boot
Plus de sujets relatifs à : SQUID + VHOSTS : Problème d'accès...


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR