https://m204wiki.rocketsoftware.com/index.php?title=GeneratePac_command&feed=atom&action=history
GeneratePac command - Revision history
2024-03-29T11:31:29Z
Revision history for this page on the wiki
MediaWiki 1.40.1
https://m204wiki.rocketsoftware.com/index.php?title=GeneratePac_command&diff=119500&oldid=prev
Ekern at 21:22, 30 January 2023
2023-01-30T21:22:48Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 21:22, 30 January 2023</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l2">Line 2:</td>
<td colspan="2" class="diff-lineno">Line 2:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{|</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{|</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>|width="<del style="font-weight: bold; text-decoration: none;">50%</del>"| '''Action:'''</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>|width="<ins style="font-weight: bold; text-decoration: none;">125px</ins>"| '''Action:'''</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>|width="<del style="font-weight: bold; text-decoration: none;">50%</del>"|</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>|width="<ins style="font-weight: bold; text-decoration: none;">775px</ins>"|</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><span class="f_ListBul1">Generates a PAC (Proxy Auto Config) JavaScript file from the Debugger configuration settings in </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para">. If this file is defined to the Internet Explorer browser, IE </span><span class="f_ListBul1">will use the Debugger Client as a proxy </span>''only''<span class="f_ListBul1"> for requests for the hosts (Onlines) [[Customize debuggerConfig file#Basic configuration steps |specified]] in </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para">. </span></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><span class="f_ListBul1">Generates a PAC (Proxy Auto Config) JavaScript file from the Debugger configuration settings in </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para">. If this file is defined to the Internet Explorer browser, IE </span><span class="f_ListBul1">will use the Debugger Client as a proxy </span>''only''<span class="f_ListBul1"> for requests for the hosts (Onlines) [[Customize debuggerConfig file#Basic configuration steps |specified]] in </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para">. </span></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
</table>
Ekern
https://m204wiki.rocketsoftware.com/index.php?title=GeneratePac_command&diff=119270&oldid=prev
Ekern at 02:25, 1 December 2022
2022-12-01T02:25:53Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 02:25, 1 December 2022</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l4">Line 4:</td>
<td colspan="2" class="diff-lineno">Line 4:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|width="50%"| '''Action:'''</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|width="50%"| '''Action:'''</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|width="50%"|</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|width="50%"|</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><span class="f_ListBul1">Generates a PAC (Proxy Auto Config) JavaScript file from the Debugger configuration settings in </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para">. If this file is defined to the Internet Explorer browser, IE </span><span class="f_ListBul1">will use the Debugger Client as a proxy </span><del style="font-weight: bold; text-decoration: none;"><span class="f_EmphItal"></del>only<del style="font-weight: bold; text-decoration: none;"></span></del><span class="f_ListBul1"> for requests for the hosts (Onlines) [[<del style="font-weight: bold; text-decoration: none;">customize_debugger_cfg_file.html</del>#<del style="font-weight: bold; text-decoration: none;">hostserverlist</del>|specified]] in </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para">. </span></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><span class="f_ListBul1">Generates a PAC (Proxy Auto Config) JavaScript file from the Debugger configuration settings in </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para">. If this file is defined to the Internet Explorer browser, IE </span><span class="f_ListBul1">will use the Debugger Client as a proxy </span><ins style="font-weight: bold; text-decoration: none;">''</ins>only<ins style="font-weight: bold; text-decoration: none;">''</ins><span class="f_ListBul1"> for requests for the hosts (Onlines) [[<ins style="font-weight: bold; text-decoration: none;">Customize debuggerConfig file</ins>#<ins style="font-weight: bold; text-decoration: none;">Basic configuration steps </ins>|specified]] in </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para">. </span></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><span class="f_Para">The IE browser does this host filtering if the PAC file location is specified for it in the </span><span class="f_GUIlabel">Address</span><span class="f_Para"> value in </span><span class="f_GUIlabel">Tools</span><span class="f_Para"> &gt; </span><span class="f_GUIlabel">Internet options</span><span class="f_Para"> &gt; </span><span class="f_GUIlabel">Connections</span><span class="f_Para"> &gt; </span><span class="f_GUIlabel">LAN settings</span><span class="f_Para"> &gt; </span><span class="f_GUIlabel">Use automatic configuration script.</span><span class="f_Para"> </span></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><span class="f_Para">The IE browser does this host filtering if the PAC file location is specified for it in the </span><span class="f_GUIlabel">Address</span><span class="f_Para"> value in </span><span class="f_GUIlabel">Tools</span><span class="f_Para"> &gt; </span><span class="f_GUIlabel">Internet options</span><span class="f_Para"> &gt; </span><span class="f_GUIlabel">Connections</span><span class="f_Para"> &gt; </span><span class="f_GUIlabel">LAN settings</span><span class="f_Para"> &gt; </span><span class="f_GUIlabel">Use automatic configuration script.</span><span class="f_Para"> </span></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l14">Line 14:</td>
<td colspan="2" class="diff-lineno">Line 14:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><p class="syntax">generatePac [''file'' [overwrite|nomerge]] </p></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><p class="syntax">generatePac [''file'' [overwrite|nomerge]] </p></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Where ''file'' is the name of a file which, if not specified, defaults to </span><span class="f_Monospace">debuggerInternalPac.js</span><span class="f_Para">. The generated file is placed by default in the Client [[<del style="font-weight: bold; text-decoration: none;">change_location_client_work.html</del>|workfile folder]]. If no such work folder is configured, the Client installation folder is used. </span></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Where ''file'' is the name of a file which, if not specified, defaults to </span><span class="f_Monospace">debuggerInternalPac.js</span><span class="f_Para">. The generated file is placed by default in the Client [[<ins style="font-weight: bold; text-decoration: none;">Changing the location of Client work files</ins>|workfile folder]]. If no such work folder is configured, the Client installation folder is used. </span></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If you specify a ''file'' value: </div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If you specify a ''file'' value: </div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l27">Line 27:</td>
<td colspan="2" class="diff-lineno">Line 27:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''Note:''' If your ''file'' specification contains an error (typo, incorrect file or path name, etc.), the Internet Explorer browser ignores the command and does not inform you of the error</span><span class="f_Notes">. </span></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''Note:''' If your ''file'' specification contains an error (typo, incorrect file or path name, etc.), the Internet Explorer browser ignores the command and does not inform you of the error</span><span class="f_Notes">. </span></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>When ''generatePac'' runs, it reports its activity in the Debugger Client [[<del style="font-weight: bold; text-decoration: none;">using_macro_console_cmdline.html</del>|console]]. For example: </div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>When ''generatePac'' runs, it reports its activity in the Debugger Client [[<ins style="font-weight: bold; text-decoration: none;">Using the console and command line</ins>|console]]. For example: </div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;">Command: generatePac foo.js overwrite</span><br /></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><p class="syntax"></ins><span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;">Command: generatePac foo.js overwrite</span><br /></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;">Generated New Pac file: foo.js</span><br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;">Generated New Pac file: foo.js</span><br /></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;">Added: 5 web servers from the configuration.</span><br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;">Added: 5 web servers from the configuration.</span><br /></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l51">Line 51:</td>
<td colspan="2" class="diff-lineno">Line 51:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> if (isDebuggable) return &quot;PROXY 127.0.0.1:8081;DIRECT&quot;;</span><br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> if (isDebuggable) return &quot;PROXY 127.0.0.1:8081;DIRECT&quot;;</span><br /></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> return &quot;DIRECT&quot;;</span><br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> return &quot;DIRECT&quot;;</span><br /></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;">} </span></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;">} </span<ins style="font-weight: bold; text-decoration: none;">></p</ins>></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><span class="f_Para">The quoted host URLs above are copied from the </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para"> file. The last of them (with no explicit port number appended) is generated when a port 80 specification is present in </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para">. </span></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><span class="f_Para">The quoted host URLs above are copied from the </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para"> file. The last of them (with no explicit port number appended) is generated when a port 80 specification is present in </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para">. </span></div></td></tr>
</table>
Ekern
https://m204wiki.rocketsoftware.com/index.php?title=GeneratePac_command&diff=118750&oldid=prev
Ekern: Created page with "__TOC__ {| |width="50%"| '''Action:''' |width="50%"| <span class="f_ListBul1">Generates a PAC (Proxy Auto Config) JavaScript file from the Debugger configuration settings in..."
2022-05-26T03:25:40Z
<p>Created page with "__TOC__ {| |width="50%"| '''Action:''' |width="50%"| <span class="f_ListBul1">Generates a PAC (Proxy Auto Config) JavaScript file from the Debugger configuration settings in..."</p>
<p><b>New page</b></p><div>__TOC__<br />
<br />
{|<br />
|width="50%"| '''Action:'''<br />
|width="50%"|<br />
<span class="f_ListBul1">Generates a PAC (Proxy Auto Config) JavaScript file from the Debugger configuration settings in </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para">. If this file is defined to the Internet Explorer browser, IE </span><span class="f_ListBul1">will use the Debugger Client as a proxy </span><span class="f_EmphItal">only</span><span class="f_ListBul1"> for requests for the hosts (Onlines) [[customize_debugger_cfg_file.html#hostserverlist|specified]] in </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para">. </span><br />
<br />
<span class="f_Para">The IE browser does this host filtering if the PAC file location is specified for it in the </span><span class="f_GUIlabel">Address</span><span class="f_Para"> value in </span><span class="f_GUIlabel">Tools</span><span class="f_Para"> &gt; </span><span class="f_GUIlabel">Internet options</span><span class="f_Para"> &gt; </span><span class="f_GUIlabel">Connections</span><span class="f_Para"> &gt; </span><span class="f_GUIlabel">LAN settings</span><span class="f_Para"> &gt; </span><span class="f_GUIlabel">Use automatic configuration script.</span><span class="f_Para"> </span><br />
<br />
<span class="f_Para">By default, </span><span class="f_Monospace">generatePac</span><span class="f_Para"> merges the code it generates with that of an existing PAC file (if such a file is already specified in the Internet Explorer configuration options). </span><br />
<br />
'''Syntax:''' <br />
<br />
<p class="syntax">generatePac [''file'' [overwrite|nomerge]] </p><br />
<br />
Where ''file'' is the name of a file which, if not specified, defaults to </span><span class="f_Monospace">debuggerInternalPac.js</span><span class="f_Para">. The generated file is placed by default in the Client [[change_location_client_work.html|workfile folder]]. If no such work folder is configured, the Client installation folder is used. </span><br />
<br />
If you specify a ''file'' value: <br />
<br />
*You can use quotation marks to indicate an absolute or relative Windows file system path: </span><br />
**If quoted (for example, </span><span class="f_Monospace">generatePac &quot;c:\pac\debuggerPac.js&quot;</span><span class="f_ListBul2">), the file value is treated as an absolute file path. </span><br />
**If not quoted (for example, </span><span class="f_Monospace">generatePac foo.js</span><span class="f_ListBul2">), the value is treated as a path relative to the workfile folder. </span><br />
*You can also use a file URL (for example, </span><span class="f_Monospace">file://c:\xxx\yyy.js</span><span class="f_ListBul1"> ) to specify the file. </span><br />
<br />
If a file with the same name as ''file'' already exists, it will not be overwritten, unless you specify ''overwrite''. If you use ''overwrite'', the ''file'' value must be explicitly specified. <br />
<br />
'''Note:''' If your ''file'' specification contains an error (typo, incorrect file or path name, etc.), the Internet Explorer browser ignores the command and does not inform you of the error</span><span class="f_Notes">. </span><br />
<br />
When ''generatePac'' runs, it reports its activity in the Debugger Client [[using_macro_console_cmdline.html|console]]. For example: <br />
<br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;">Command: generatePac foo.js overwrite</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;">Generated New Pac file: foo.js</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;">Added: 5 web servers from the configuration.</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;">Generated Pac File:</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;">// foo.js generated by debugger client on: 2013 05 23 15:59:20</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;">function FindProxyForURL(url, host) {</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> urlLc = url.toLowerCase();</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> isDebuggable = (</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> (shExpMatch(urlLc, &quot;http://sirius-software.com:3666/*%22)</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> ||</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> (shExpMatch(urlLc, &quot;http://sirius-software.com:9219/*%22))</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> ||</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> (shExpMatch(urlLc, &quot;http://sirius-software.com:3667/*%22)</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> ||</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> (shExpMatch(urlLc, &quot;http://sirius-software.com:3000/*%22)</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> ||</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> (shExpMatch(urlLc, &quot;http://sirius-software.com:80/*%22)</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> ||</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> (shExpMatch(urlLc, &quot;http://sirius-software.com/*%22)</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> );</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> if (isDebuggable) return &quot;PROXY 127.0.0.1:8081;DIRECT&quot;;</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;"> return &quot;DIRECT&quot;;</span><br /><br />
<span style="font-size: 12px; font-family: 'Courier New',Courier,monospace;">} </span><br />
<br />
<span class="f_Para">The quoted host URLs above are copied from the </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para"> file. The last of them (with no explicit port number appended) is generated when a port 80 specification is present in </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para">. </span><br />
<br />
<span class="f_Para">See also the </span><span class="f_Monospace">[[SetIEMode command|setIEMode]]</span><span class="f_Para"> command, which combines the </span><span class="f_Monospace">''generatePac''</span><span class="f_Para"> functionality with automatic specification and removal of the PAC file in the IE configuration settings when the Client starts and closes. </span><br />
|-<br />
| '''Client menu:'''<br />
| <span class="f_Para">--</span><br />
|-<br />
| '''Introduced:'''<br />
| <span class="f_Para">Build 62 </span><br />
|}<br />
<br />
[[Category:Debugger Commands]]</div>
Ekern