//////////////////////////////////////////////////////////////////////// function FindProxyForURL(url, host) // Fonction Java pour la configuration automatique du proxy du client // { //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////// // Les domaines seulement ont ete ajoutes de facon a eviter des problemes avec certains sites // //////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////// // Ressources majeures // ///////////////////////// if (dnsDomainIs(host, ".galegroup.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".eureka.cc")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".ieee.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".sdm.qc.ca")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".aip.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".scitation.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".asme.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "asmestandardscollection.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.ascelibrary.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "ascelibrary.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".emeraldinsight.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "onlinelibrary.wiley.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "secure.onlinelibrary.wiley.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".springerlink.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "link.springer.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".ei.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".umi.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".iop.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".rsc.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".ams.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "pubs.acs.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".acm.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".csa.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.netlibrary.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".techniques-ingenieur.fr")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".books24x7.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".asminternational.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".webofknowledge.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".webofscience.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".sciencedirect.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".reperes.qc.ca")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.engineeringvillage2.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.engineeringvillage.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".engnetbase.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".crcnetbase.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".publicationsduquebec.gouv.qc.ca")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".knovel.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.faulkner.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.papersinvited.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".oxfordjournals.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".sagepub.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".astm.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "access.demarque.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "corpshumaindemarque.ikonet.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".bvdep.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".myilibrary.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.informaworld.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "estat2.statcan.ca")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".ebsco.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".ebscohost.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "*.ebsco-content.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".metapress.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "journals.cambridge.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".aiaa.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".tandfonline.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "search.proquest.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "ebookcentral.proquest.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".ebrary.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.swetswise.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "subscriptions.techstreet.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.scientific.net")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.scopus.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".aisnet.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".esdu.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "ac.els-cdn.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".spiedigitallibrary.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "codes-guides.nrc.ca")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.worldcat.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".thomsonreuters.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "academic.oup.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "scival.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".scival.com")) { return "PROXY 142.137.251.24:8080"; } //////////////////////// // Autres Ebscohost // //////////////////////// if (dnsDomainIs(host, "170.225.96.21")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "170.225.99.9")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "129.35.213.31")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "129.35.248.48")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "170.225.184.106")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "170.225.184.107")) { return "PROXY 142.137.251.24:8080"; } //////////////////////// // Titres individuels // //////////////////////// if (dnsDomainIs(host, ".cs.qub.ac.uk")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".ges.external.lmco.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".t-telford.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".t-telford.co.uk")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".catchword.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".annualreviews.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.nature.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".extenza-eps.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.aes.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.worldscinet.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.nrcresearchpress.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.inderscience.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.inderscienceonline.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.iwaponline.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.ingentaconnect.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.aerosociety.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "ieee-elearning.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "sloanreview.mit.edu")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".icevirtuallibrary.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".igi-global.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.erudit.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".sae.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "trrjournalonline.trb.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".multidictionnaire.com")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "journals.ala.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "www.concrete.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, "pubsonline.informs.org")) { return "PROXY 142.137.251.24:8080"; } if (dnsDomainIs(host, ".chemengonline.com")) { return "PROXY 142.137.251.24:8080"; } ////////////////////////////////////// // Script Html pour login Automatic // ////////////////////////////////////// if (dnsDomainIs(host, "secure.etsmtl.ca")) { return "PROXY 142.137.251.24:8080"; } else ///////////////////////////////////////////////////////////////////// return "DIRECT"; // Si aucune condition n'est respectee, passer directement par tcp // } ///////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////// // Par Philip Quessy - Stagiaire Telecom, Automne 2000 - irc@etsmtl.ca // ////////////////////////////////////////////////////////////////////////