# Modification Url Squid

Se connecter au serveur squid :

Une fois connecté modifier le fichier contenant les host server

```bash
sudo su
nano /etc/squid/White_liste/Update_Redhat_Centos
```

[![hostlist.PNG](https://cavallone.fr/uploads/images/gallery/2025-07/scaled-1680-/fOrkkH1pOqkBjpec-hostlist.PNG)](https://cavallone.fr/uploads/images/gallery/2025-07/fOrkkH1pOqkBjpec-hostlist.PNG)

Ajouter ensuite l'url comme ci-dessous dans le fichier

[![modification du fichier.PNG](https://cavallone.fr/uploads/images/gallery/2025-07/scaled-1680-/Rq4arszoDJVhNxYY-modification-du-fichier.PNG)](https://cavallone.fr/uploads/images/gallery/2025-07/Rq4arszoDJVhNxYY-modification-du-fichier.PNG)

une fois le fichier quitter et enregistrer , exécuter la commande suivante :

```bash
squid -k reconfigure
```

[![reconfigure.PNG](https://cavallone.fr/uploads/images/gallery/2025-07/scaled-1680-/lUOhbV6QmV2q9NUt-reconfigure.PNG)](https://cavallone.fr/uploads/images/gallery/2025-07/lUOhbV6QmV2q9NUt-reconfigure.PNG)

Vous verrez la liste des IP apparaître comme suivant

[![application.PNG](https://cavallone.fr/uploads/images/gallery/2025-07/scaled-1680-/iCfXhGMmngYOAloL-application.PNG)](https://cavallone.fr/uploads/images/gallery/2025-07/iCfXhGMmngYOAloL-application.PNG)

Tester si le serveur peut maintenant acceder à l'url.