Features/Proxy Settings: Difference between revisions
| Line 110: | Line 110: | ||
***In both cases, the Web server must be configured to serve the WPAD file with a MIME type of "application/x-ns-proxy-autoconfig". | ***In both cases, the Web server must be configured to serve the WPAD file with a MIME type of "application/x-ns-proxy-autoconfig". | ||
***If the DNS method is used, a file named wpad.dat must be located in the WPAD Web site's root directory. | ***If the DNS method is used, a file named wpad.dat must be located in the WPAD Web site's root directory. | ||
* Select "Automatic" mode in "My Settings" -> "Proxy" (without specifying anything else), and restart when prompted so. | * Select "Automatic" mode in "My Settings" -> "Proxy" (without specifying anything else), and restart when prompted so. | ||
| Line 116: | Line 117: | ||
* The above step is all that is needed for "Automatic (WPAD)" mode to take effect; the WPAD-configuration-file will be located by the DHCP/DNS Server. However, for easy QA testing, we specify an easy way to replicate this DNS behavior :: | * The above step is all that is needed for "Automatic (WPAD)" mode to take effect; the WPAD-configuration-file will be located by the DHCP/DNS Server. However, for easy QA testing, we specify an easy way to replicate this DNS behavior :: | ||
** Add the line "build.activitycentral.com wpad" to the file "/etc/hosts" on the XO, and reboot. '''It is repeated innumerable times, that this step is required just for easy testing; in actual deployments, the DNS-name resolution will be provided by network-administrators/School-Server-running-DHCPD''' | ** Add the line "build.activitycentral.com wpad" to the file "/etc/hosts" on the XO, and reboot. '''It is repeated innumerable times, that this step is required just for easy testing; in actual deployments, the DNS-name resolution will be provided by network-administrators/School-Server-running-DHCPD''' | ||
** Also, thanks a ton to '''Santiago Rodriguez (scollazo@activitycentral.com)''' for setting up the proxy-configuration-files at build.activitycentral.com. | ** Also, thanks a ton to '''Santiago Rodriguez (scollazo@activitycentral.com)''' for setting up the proxy-configuration-files at build.activitycentral.com. | ||
* Open "Browse", and type in "www.google.com". You should be prompted for credentials (as is required by the WPAD-configuration-file at build.activitycentral.com | * Open "Browse", and type in "www.google.com". You should be prompted for credentials (as is required by the WPAD-configuration-file at build.activitycentral.com | ||
:[[File:proxy2.png|640px]] | :[[File:proxy2.png|640px]] | ||
* Entering wrong credentials in the previous step, re-prompts :). This time, enter correct credentials. | * Entering wrong credentials in the previous step, re-prompts :). This time, enter correct credentials. | ||
:[[File:proxy3.png|640px]] | :[[File:proxy3.png|640px]] | ||
* The page opens successfully. | * The page opens successfully. | ||
:[[File:proxy4.png|640px]] | :[[File:proxy4.png|640px]] | ||
* Next, type "www.facebook.com"; the "Access Denied" page is shown instantaneously, as per the rule in the WPAD-configuration-file at build.activitycentral.com | * Next, type "www.facebook.com"; the "Access Denied" page is shown instantaneously, as per the rule in the WPAD-configuration-file at build.activitycentral.com | ||