Wpad
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
Wpad
Il s'agit de configurer la detection automatique d'un proxy avec WPAD.
Avec ce lien j'ai fais la config j'arrive à télécharger le fichier wpad.dat, quand je l'indique dans l'explorateur ça marche mais automatiquement ça ne marche pas. voici la procedure que j'ai suivi: http://www.wlug.org.nz/WPAD (the easy method) et les lignes ajoutées dans mon fichier /etc/http/httpd.conf <VirtualHost adress_du_serveur_web> ServerAdmin webmaster@diomy.ci DocumentRoot /var/www/htdocs/wpad ServerName wpad.diomy.ci ServerAlias adress_du_serveur_web AddType application/x-ns-proxy-autoconfig .dat Options All ErrorLog /var/log/httpd/wpad-error_log CustomLog /var/log/httpd/wpad-access_log combined </VirtualHost> puis <Directory "/var/www/htdocs/wpad"> Options None AllowOverride AuthConfig Order allow,deny Allow from all </Directory> dans /etc/httpd/mime.type, j'ai ajouté: application/x-ns-proxy-autoconfig dat quant au ficier wpad.dat, il est dans /var/www/htdocs/wpad function FindProxyForURL(url, host) { if( shExpMatch(url, "!https:*") || isPlainHostName(host) || dnsDomainIs(host, ".diomy.ci") ) { return "DIRECT"; } else { return "PROXY adresse_du_proxy:8080; DIRECT"; } } Dans le DNS j'ai ajouté la ligne suivante: wpad IN CNAME www que dois je faire d'autre pour que cela marche ![]() |
Bookmarks |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
All times are GMT +2. The time now is 19:27.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.