<?xml version="1.0" encoding="UTF-8"?>
|
<!DOCTYPE html
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!--#config errmsg="" --><!-- saved from url=(0022)http://help.adobe.com/ -->
|
<html lang="en-us">
|
<head>
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
<meta name="lang" content="en-us" />
|
<meta name="area" content="livedocs" />
|
<title>Adobe ColdFusion 10 * Using the command-line interface</title>
|
<link rel="shortcut icon" href="images/ColdFusionLinkIndicator.png" />
|
<meta name="book" content="Configuring and Administering ColdFusion 10" />
|
<meta name="product" content="ColdFusion" />
|
<meta name="keywords" content="" /><!--<PageMap><DataObject type="document"><Attribute name="product" value="ColdFusion"></Attribute><Attribute name="book" value="Configuring and Administering ColdFusion 10"></Attribute><Attribute name="keywords" value=""></Attribute></DataObject></PageMap>-->
|
|
<script type="text/javascript" language="Javascript" charset="UTF-8"><!--[CDATA[
|
var currentTreeNode = "WSc3ff6d0ea77859461172e0811cbf364104-7fd9.html";
|
document.cookie = "topicId=" + "WSc3ff6d0ea77859461172e0811cbf364104-7fd9.html";
|
// ]]--></script>
|
<script src="terms.js" type="text/javascript" language="Javascript" charset="UTF-8">...</script> <script src="help.js" type="text/javascript" language="Javascript" charset="UTF-8">...</script> <script src="utilities.js" type="text/javascript" language="Javascript" charset="UTF-8">...</script> <script src="event.js" type="text/javascript" language="Javascript" charset="UTF-8">...</script> <script src="treeview.js" type="text/javascript" language="Javascript" charset="UTF-8">...</script> <script src="toc.js" language="Javascript" type="text/javascript" charset="UTF-8">..</script> <script src="swfobject.js" language="Javascript" type="text/javascript" charset="UTF-8">..</script> <script src="booklist.js" language="Javascript" type="text/javascript" charset="UTF-8">..</script>
|
<script type="text/javascript">
|
<!--[CDATA[
|
var topictype = "topic";
|
var headId = document.getElementsByTagName("head")[0];
|
if (use_ie_6_behavior) {
|
var linkId = document.createElement("link");
|
linkId.href = "content-ie6.css";
|
linkId.rel = "stylesheet";
|
linkId.type = "text/css";
|
headId.appendChild(linkId);
|
}
|
function initRoboHelpDOM() {
|
if (use_chm_behavior) {
|
hideElement("search");
|
}
|
if (use_robohelp_behavior) {
|
hideElement("search");
|
hideElement("productmenu");
|
//hideElement("notyourversion");
|
}
|
if(!use_chc_behavior) {
|
//document.getElementById("notyourversion").style.display = "inline";;
|
}
|
}
|
var dirname = location.pathname.match( /.*\// );
|
function setSearchUserPref(){
|
if ( document.cookie.indexOf( "ah_searchpref" ) > -1 ) {
|
if ( document.cookie.indexOf( dirname ) > 0 ) {
|
document.search.gsa.checked = true ;
|
}else{
|
document.search.gsa.checked = false ;
|
}
|
}
|
}
|
YAHOO.util.Event.onDOMReady(initRoboHelpDOM);
|
YAHOO.util.Event.onDOMReady(setSearchUserPref);
|
// ]]-->
|
</script>
|
<!--#include virtual="/ssi/globalheader.ssi" -->
|
<!--#include virtual="/en_US/ssi/localheader.ssi" -->
|
<!--#include virtual="header.ssi" -->
|
<link rel="stylesheet" type="text/css" href="tree.css" />
|
<link rel="stylesheet" type="text/css" href="content.css" />
|
<link rel="stylesheet" type="text/css" href="localeSpecific.css" />
|
</head>
|
<body id="content_body" onload="window.focus();">
|
<a name="top" shape="rect"><!--LeaveCommentHere--></a>
|
|
<div id="mnemonic">
|
<div class="ColdFusion"><div class="banner"><a href="WSf01dbd23413dda0e51f089d212047ee7a02-8000.html">Adobe ColdFusion 10</a></div></div>
|
</div>
|
|
<div id="searchbar">
|
<table id="searchbartable">
|
<tr>
|
<td colspan="2">
|
<div id="pdf"><img src="images/PDF.gif" width="16" height="16" hspace="10" /> 
|
<a title="View Help PDF" href="http://help.adobe.com/en_US/ColdFusion/10.0/Admin/coldfusion_10_admin.pdf">View Help PDF (adobe.com)</a></div>
|
</td>
|
</tr>
|
</table>
|
</div>
|
|
<!-- BEGIN SEARCH CONTENT -->
|
<form id="search" name="search" action="search.html" target="_self">
|
<script type="text/javascript">
|
<!--[CDATA[
|
if ( !use_chc_behavior ){
|
if (typeof(terms_AHV_SEARCH_CONSTRAINT) != "undefined" &&
|
terms_AHV_SEARCH_CONSTRAINT.length > 0 &&
|
document.location.href.indexOf(".adobe.com") > 0){
|
if ( typeof(terms_SEARCH_THIS_HELP_ONLY) != "undefined" && terms_SEARCH_THIS_HELP_ONLY == "ON" ) {
|
document.write('<div id="searchscope"> \
|
<input onchange="setAHSearchPref();" \
|
class="gsa" \
|
name="gsa" \
|
id="gsa" \
|
type="checkbox" \
|
checked="checked" \
|
value="1" ><\/input>');
|
|
// Leave the "Search this help system only" checkbox unckecked
|
}else{
|
document.write('<div id="searchscope"> \
|
<input onchange="setAHSearchPref();" \
|
class="gsa" \
|
name="gsa" \
|
id="gsa" \
|
type="checkbox" \
|
value="1" ><\/input>');
|
}
|
document.write('<span class="gsalabel">' + terms_AHV_SEARCH_CONSTRAINT + '<\/span><\/div>');
|
}
|
document.write('<input class="searchinput" \
|
name="q" \
|
id="q" \
|
type="text" \
|
maxlength="256" \
|
value="' + terms_AHV_SEARCH_BUTTON + '" \
|
onclick="clearSearch()"><\/input><input \
|
type="button" \
|
name="searchbutton" \
|
class="searchbutton" \
|
onclick="submit()"><\/input>');
|
}
|
|
/*
|
* Start Functions
|
*/
|
function clearSearch(){
|
if (document.search.q.value == terms_AHV_SEARCH_BUTTON){document.search.q.value = ""};
|
}
|
|
// set search preferences
|
function setAHSearchPref(){
|
if (document.search.gsa.checked == 1){
|
setAHSearchCookie( dirname );
|
}else{
|
setAHSearchCookie( "community" );
|
}
|
}
|
|
// Set search preferences cookie
|
function setAHSearchCookie( p ){
|
// set cookie ah_searchpref with a value of the document path
|
var expire=new Date();
|
expire.setDate(expire.getDate()+365); // Cookie expires after 1 year (365 days)
|
document.cookie="ah_searchpref=" +p+ "; expires=" +expire.toGMTString()+ ";";
|
}
|
|
// ]]-->
|
</script>
|
</form>
|
<!-- END SEARCH CONTENT -->
|
|
|
|
<!-- BEGIN PAGE CONTENT WRAPPER -->
|
<div id="page_content_wrapper">
|
<!-- BEGIN PAGE WRAPPER -->
|
<table id="page_content_table">
|
<tr>
|
<!--#include virtual="recommendations_topic.ssi" -->
|
<td id="col2">
|
<!-- BEGIN CONTENT WRAPPER -->
|
<!-- BEGIN BREADCRUMBS -->
|
|
|
<div id="breadcrumb">
|
|
<ul class="navigation"><li class="prev"><a accesskey="p" class="prev" href="WSc3ff6d0ea77859461172e0811cbf363a5d-7ffc.html" title="Using GUI mode"><img src="images/blank.gif" alt="Previous" width="17" height="17" /></a></li><li class="next"><a accesskey="n" class="next" href="WSc3ff6d0ea77859461172e0811cbf363a5d-7ffb.html" title="Configuration files"><img src="images/blank.gif" alt="Next" width="17" height="17" /></a></li></ul><div class="hierarchy" id="hierarchy"><a href="WSf01dbd23413dda0e51f089d212047ee7a02-8000.html"><b>Home</b></a> / <a href="WSf01dbd23413dda0e51f089d212047ee7a02-8000.html"><b>Configuring and Administering ColdFusion 10</b></a> / <a href="WSc3ff6d0ea77859461172e0811cbf364104-7ffd.html"><b>Web Server Management</b></a>
|
/ <a href="WSc3ff6d0ea77859461172e0811cbf364104-7fd6.html"><b>Web server configuration</b></a>
|
</div>
|
|
</div>
|
<!-- END BREADCRUMBS -->
|
<div id="content_wrapper">
|
<!-- BEGIN PAGE TITLE -->
|
<h1>Using the command-line interface</h1>
|
<!-- END PAGE TITLE -->
|
<!-- BEGIN IONCOMMENTCOUNT -->
|
<div id="ionCount">
|
</div>
|
<!-- END IONCOMMENTCOUNT -->
|
<table id="inner_content_table" width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td>
|
<div style="border-top:#ccc solid 1px;"><p> </p>
|
</div>
|
<!--#include virtual="contentheader.ssi" -->
|
|
<div id="minitoc"><div class="t"><div class="b"><div><ul id="minitoc-links"><li><p><a href="#WS4EAEA485-0F9F-424e-9B0F-63451E843739"><span class="topictitle1">Run the command-line interface</span>
|
</a></p></li><li><p><a href="#WSA843B485-3804-45df-9836-E8140EFCC6DB"><span class="topictitle1">Using the batch files and shell scripts</span>
|
</a></p></li><li><p><a href="#WSA9EC0483-C2FB-4147-A745-1DE5B589EEF2"><span class="topictitle1">command-line interface examples</span>
|
</a></p></li></ul></div></div></div></div><div><p>You can also run the Web Server Configuration
|
Tool through a command-line interface. </p>
|
</div>
|
<div id="WS4EAEA485-0F9F-424e-9B0F-63451E843739" class="nochunk"><a name="WS4EAEA485-0F9F-424e-9B0F-63451E843739"><!-- --></a><h2 class="topictitle2">Run the command-line interface</h2><div><ol><li><p>Open a console window.</p>
|
</li>
|
<li><p>Change to the <i xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xs="http://www.w3.org/2001/XMLSchema">cf_root</i>/cfusion/runtime/bin (server
|
configuration) directory.</p>
|
</li>
|
<li><p>Execute the wsconfig.exe (Windows) or wsconfig (UNIX) command:</p>
|
<pre> wsconfig.exe [-options]
|
./wsconfig [-options]</pre>
|
</li>
|
</ol>
|
<p>The following table describes the options:</p>
|
|
<div class="tablenoborder"><table border="1" cellpadding="4" cellspacing="0"><thead align="left"><tr><th valign="top" width="NaN%" id="d16e11973"><p>Option</p>
|
</th>
|
<th valign="top" width="NaN%" id="d16e11976"><p>Description</p>
|
</th>
|
</tr>
|
</thead>
|
<tbody><tr><td valign="top" width="NaN%" headers="d16e11973 "><p><samp class="codeph">-ws</samp></p>
|
</td>
|
<td valign="top" width="NaN%" headers="d16e11976 "><p>Specifies the web server, as follows:</p>
|
<div class="para"><ul><li><p>IIS </p>
|
</li>
|
<li><p>Apache </p>
|
</li>
|
<li><p>SunOne</p>
|
</li>
|
<li><p>iPlanet </p>
|
</li>
|
<li><p>NES </p>
|
</li>
|
</ul>
|
</div>
|
<p>The web server name you supply is
|
not case sensitive.</p>
|
</td>
|
</tr>
|
<tr><td valign="top" width="NaN%" headers="d16e11973 "><p><samp class="codeph">-dir </samp></p>
|
</td>
|
<td valign="top" width="NaN%" headers="d16e11976 "><p>Specifies the path to the configuration
|
directory (Apache conf or NES/iPlanet config).</p>
|
</td>
|
</tr>
|
<tr><td valign="top" width="NaN%" headers="d16e11973 "><p><samp class="codeph">-site</samp></p>
|
</td>
|
<td valign="top" width="NaN%" headers="d16e11976 "><p>Specifies the IIS website name (case-sensitive).
|
Specify All or 0 to configure the connector at a global level, which
|
applies to all IIS websites.</p>
|
</td>
|
</tr>
|
<tr><td valign="top" width="NaN%" headers="d16e11973 "><p><samp class="codeph">-host </samp></p>
|
</td>
|
<td valign="top" width="NaN%" headers="d16e11976 "><p>Specifies the ColdFusion server address.
|
The default value is <samp class="codeph">localhost</samp>. </p>
|
</td>
|
</tr>
|
<tr><td valign="top" width="NaN%" headers="d16e11973 "><p><samp class="codeph">-server</samp></p>
|
</td>
|
<td valign="top" width="NaN%" headers="d16e11976 "><p>Specifies the ColdFusion server name. </p>
|
</td>
|
</tr>
|
<tr><td valign="top" width="NaN%" headers="d16e11973 "><p><samp class="codeph">-norestart</samp></p>
|
</td>
|
<td valign="top" width="NaN%" headers="d16e11976 "><p>Specifies not to restart the web server.</p>
|
</td>
|
</tr>
|
<tr><td valign="top" width="NaN%" headers="d16e11973 "><p><samp class="codeph">-cluster</samp></p>
|
</td>
|
<td valign="top" width="NaN%" headers="d16e11976 "><p>Specifies the Tomcat cluster name. Use this
|
option to define a connection to a Tomcat cluster instead of a single
|
server.</p>
|
</td>
|
</tr>
|
<tr><td valign="top" width="NaN%" headers="d16e11973 "><p><samp class="codeph">-l</samp></p>
|
</td>
|
<td valign="top" width="NaN%" headers="d16e11976 "><p>Enables verbose logging for the connector.</p>
|
</td>
|
</tr>
|
<tr><td valign="top" width="NaN%" headers="d16e11973 "><p><samp class="codeph">-upgrade</samp></p>
|
</td>
|
<td valign="top" width="NaN%" headers="d16e11976 "><p>Upgrades existing configured connectors
|
with newer modules from a newer wsconfig.jar file. </p>
|
</td>
|
</tr>
|
<tr><td valign="top" width="NaN%" headers="d16e11973 "><p><samp class="codeph">-service</samp></p>
|
</td>
|
<td valign="top" width="NaN%" headers="d16e11976 "><p>Specifies the Apache Windows service name.
|
The default value is <samp class="codeph">Apache</samp>. </p>
|
</td>
|
</tr>
|
<tr><td valign="top" width="NaN%" headers="d16e11973 "><p><samp class="codeph">-bin</samp></p>
|
</td>
|
<td valign="top" width="NaN%" headers="d16e11976 "><p>Specifies the path to the Apache server
|
binary file (apache.exe in Windows, httpd on UNIX).</p>
|
</td>
|
</tr>
|
<tr><td valign="top" width="NaN%" headers="d16e11973 "><p><samp class="codeph">-script</samp></p>
|
</td>
|
<td valign="top" width="NaN%" headers="d16e11976 "><p>Specifies the path to the Apache UNIX control
|
script file (apachectl, but slightly different with certain Apache
|
variants, such as Stronghold).</p>
|
</td>
|
</tr>
|
<tr><td valign="top" width="NaN%" headers="d16e11973 "><p><samp class="codeph">-v</samp></p>
|
</td>
|
<td valign="top" width="NaN%" headers="d16e11976 "><p>Enables verbose output from the Web Server
|
Configuration Tool.</p>
|
</td>
|
</tr>
|
<tr><td valign="top" width="NaN%" headers="d16e11973 "><p><samp class="codeph">-list</samp></p>
|
</td>
|
<td valign="top" width="NaN%" headers="d16e11976 "><p>Lists all configured web servers.</p>
|
</td>
|
</tr>
|
<tr><td valign="top" width="NaN%" headers="d16e11973 "><p><samp class="codeph">-list -host server-host</samp></p>
|
</td>
|
<td valign="top" width="NaN%" headers="d16e11976 "><p>Lists all Tomcat servers on the specified
|
host.</p>
|
</td>
|
</tr>
|
<tr><td valign="top" width="NaN%" headers="d16e11973 "><p><samp class="codeph">-remove</samp></p>
|
</td>
|
<td valign="top" width="NaN%" headers="d16e11976 "><p>Removes a configuration. Requires the ‑<samp class="codeph">ws</samp> and
|
either the ‑<samp class="codeph">dir</samp> or ‑<samp class="codeph">site</samp> options.</p>
|
</td>
|
</tr>
|
<tr><td valign="top" width="NaN%" headers="d16e11973 "><p><samp class="codeph">-uninstall</samp></p>
|
</td>
|
<td valign="top" width="NaN%" headers="d16e11976 "><p>Removes all configured connectors.</p>
|
</td>
|
</tr>
|
<tr><td valign="top" width="NaN%" headers="d16e11973 "><p><samp class="codeph">-h </samp></p>
|
</td>
|
<td valign="top" width="NaN%" headers="d16e11976 "><p>Lists all parameters. </p>
|
</td>
|
</tr>
|
</tbody>
|
</table>
|
</div>
|
</div></div>
|
<div id="WSA843B485-3804-45df-9836-E8140EFCC6DB" class="nochunk"><a name="WSA843B485-3804-45df-9836-E8140EFCC6DB"><!-- --></a><h2 class="topictitle2">Using the batch files and shell scripts</h2><div><p>The ColdFusion server configuration includes
|
batch files and shell scripts that implement typical command-line
|
connector configurations. These files are in the <i xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xs="http://www.w3.org/2001/XMLSchema">cf_root</i>/bin/connectors
|
directory. For example, the IIS_connector.bat file configures all
|
sites in IIS to site 0, which establishes a globally defined connector so
|
that all sites inherit the filter and mappings.</p>
|
<p>If you use Apache or Sun ONE Web Server, use these files as prototypes,
|
editing, and saving them as appropriate for your site.</p>
|
</div></div>
|
<div id="WSA9EC0483-C2FB-4147-A745-1DE5B589EEF2" class="nochunk"><a name="WSA9EC0483-C2FB-4147-A745-1DE5B589EEF2"><!-- --></a><h2 class="topictitle2">command-line interface examples</h2><div><p>Examples of multiple use-cases for different web servers:</p>
|
<ol><li><p>Configure a specific IIS site:</p>
|
<pre>cf_root/runtime/bin/wsconfig.exe -server coldfusion -ws iis -site "web31" -coldfusion -v</pre>
|
<p>On
|
systems where all sites run ColdFusion, there is generally no need
|
to configure an individual site. </p>
|
</li>
|
<li><p>Configure all existing IIS sites (ISPs):</p>
|
<pre>cf_root/runtime/bin/wsconfig.exe -server coldfusion -ws iis -site 0 -coldfusion ‑cfwebroot C:\Inetpub\wwwroot -v</pre>
|
<p>The
|
‑<samp class="codeph">cfwebroot</samp> option allows all sites to share the
|
ColdFusion Administrator that runs under C:\Inetpub\wwwroot. This
|
example does not automatically configure newly added sites after
|
the first <samp class="codeph">-site 0</samp> run, but you can rerun with <samp class="codeph">-site 0</samp> at
|
a later time, and the Web Server Configuration Tool configures new
|
sites only.</p>
|
</li>
|
<li><p>Configure Apache on UNIX #1:</p>
|
<pre>cf_root/runtime/bin/wsconfig -server coldfusion -ws Apache -bin /opt/apache2/bin/httpd -script /opt/apache2/bin/apachectl -dir /opt/apache2/conf -coldfusion -v</pre>
|
</li>
|
<li><p>Configure Apache on UNIX #2:</p>
|
<pre>cf_root/runtime/bin/wsconfig -server coldfusion -ws Apache-bin /usr/bin/httpd -script /usr/bin/httpd -dir /etc/httpd/conf -coldfusion -v</pre>
|
</li>
|
<li><p>Configure Apache in Windows:</p>
|
<pre>cf_root/runtime/bin/wsconfig.exe -server coldfusion -ws apache -dir "c:\program files\apache group\apache2\conf" -coldfusion -v</pre>
|
</li>
|
<li><p>Configure Netscape on UNIX:</p>
|
<pre>cf_root/runtime/bin/wsconfig -server coldfusion -ws nes -dir [path to config] -coldfusion -v</pre>
|
</li>
|
<li><p>Configure Sun ONE Web Server on UNIX:</p>
|
<pre>cf_root/runtime/bin/wsconfig -server coldfusion -ws sunone -dir [path to config] -coldfusion -v</pre>
|
</li>
|
</ol>
|
</div></div>
|
|
|
<!-- BEGIN USER PREFERENCES -->
|
<div id="userprefs">
|
</div>
|
<!-- END USER PREFERENCES -->
|
|
<div id="related">
|
|
|
<div class="separator"><a href="#top"><img src="images/BTT.jpg" /></a> </div>
|
</div>
|
<div id="footer">
|
<!-- BEGIN IONCOMMENTS -->
|
<div id="ionComHere">
|
</div>
|
<!-- END IONCOMMENTS -->
|
<!--#include virtual="/ssi/ionComments.ssi" -->
|
<p id="creativecommons"><a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" id="creativecommons_text"><img id="creativecommons_img" src="images/CC.png" alt="This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License" /></a> Twitter™ and Facebook posts are not covered under the terms of Creative Commons.</p>
|
</div>
|
</td>
|
<td width="10px"></td>
|
<td id="inner_rightcolumn">
|
<!--#include virtual="rightcolumn.ssi" -->
|
</td></tr></table>
|
</div>
|
<!-- BEGIN BREADCRUMBS -->
|
<div id="breadcrumb">
|
|
<ul class="navigation"><li class="prev"><a accesskey="p" class="prev" href="WSc3ff6d0ea77859461172e0811cbf363a5d-7ffc.html" title="Using GUI mode"><img src="images/blank.gif" alt="Previous" width="17" height="17" /></a></li><li class="next"><a accesskey="n" class="next" href="WSc3ff6d0ea77859461172e0811cbf363a5d-7ffb.html" title="Configuration files"><img src="images/blank.gif" alt="Next" width="17" height="17" /></a></li></ul><div class="hierarchy" id="hierarchy"><a href="WSf01dbd23413dda0e51f089d212047ee7a02-8000.html"><b>Home</b></a> / <a href="WSf01dbd23413dda0e51f089d212047ee7a02-8000.html"><b>Configuring and Administering ColdFusion 10</b></a> / <a href="WSc3ff6d0ea77859461172e0811cbf364104-7ffd.html"><b>Web Server Management</b></a>
|
/ <a href="WSc3ff6d0ea77859461172e0811cbf364104-7fd6.html"><b>Web server configuration</b></a>
|
</div>
|
|
</div>
|
<!-- END BREADCRUMBS -->
|
<!-- END CONTENT WRAPPER -->
|
<!--#include virtual="contentfooter.ssi" -->
|
</td>
|
<td id="col3">
|
<div>
|
<img src="images/adobe-lq.png" />
|
</div>
|
</td>
|
</tr>
|
</table>
|
</div>
|
<!-- END PAGE CONTENT WRAPPER -->
|
<script type="text/javascript">
|
<!--[CDATA[
|
scrollToNameAnchor();
|
// ]]-->
|
</script>
|
<!--#include virtual="/en_US/ssi/productmenu.ssi" -->
|
<style>
|
#legal-notices{
|
margin:10px 40px;
|
font-size:11px;
|
}
|
</style>
|
|
<p id="legal-notices">
|
<script language="javascript">
|
var pageLoc = "en_US";
|
var metaElements = document.all ?
|
document.all.tags('meta') :
|
document.getElementsByTagName ?
|
document.getElementsByTagName ('meta') : new Array();
|
for (var m = 0; m < metaElements.length; m++) {
|
if (metaElements[m].name == "lang") {
|
pageLoc = metaElements[m].content;
|
break;
|
}
|
}
|
var ptn = /(..)-(..)/;
|
if (ptn.test(pageLoc)) {
|
var languageCode = pageLoc.replace(ptn, "$1");
|
var countryCode = pageLoc.replace(ptn, "$2");
|
pageLoc = languageCode + "_" + countryCode.toUpperCase();
|
}
|
|
var legalLoc = "en_US";
|
var legalText = "Legal Notices";
|
var legalPath = legalLoc;
|
var legalArray=[
|
"ar_AE", "إشعارات قانونية",
|
"bg_BG", "Юридически бележки",
|
"cs_CZ", "Právní upozornění",
|
"da_DK", "Juridiske meddelelser",
|
"de_DE", "Rechtliche Hinweise",
|
"el_GR", "Σημειώσεις νομικού περιεχομένου",
|
"es_ES", "Avisos legales",
|
"et_EE", "Juriidilised teated",
|
"fi_FI", "Lakisääteiset ilmoitukset",
|
"fr_FR", "Mentions légales",
|
"he_IL", "הצהרות משפטיות",
|
"hr_HR", "Pravne napomene",
|
"hu_HU", "Jogi közlemények",
|
"it_IT", "Informazioni legali",
|
"ja_JP", "法律上の注意",
|
"ko_KR", "법적 고지 사항",
|
"lt_LT", "Teisinės pastabos",
|
"lv_LV", "Juridisks paziņojums",
|
"nb_NO", "Juridiske merknader",
|
"nl_NL", "Juridische kennisgevingen",
|
"pl_PL", "Informacje prawne",
|
"pt_BR", "Aspectos jurídicos",
|
"ro_RO", "Prevederi legale",
|
"ru_RU", "Юридическая информация",
|
"sk_SK", "Právne upozornenie",
|
"sl_SI", "Pravni pouk",
|
"sv_SE", "Upphovsrätt",
|
"tr_TR", "Yasal uyarılar",
|
"uk_UA", "Юридична інформація",
|
"zh_CN", "法律声明",
|
"zh_TW", "法律注意事項"
|
];
|
|
for (var i = 0; i < legalArray.length; i+=2) {
|
if (pageLoc == legalArray[i]) {
|
legalLoc = pageLoc;
|
legalText = legalArray[i+1];
|
legalPath = legalLoc;
|
break;
|
}
|
}
|
document.write('<a target="_blank" href="http://help.adobe.com/'+legalPath+'/legalnotices/index.html">'+legalText+'</a>');
|
</script>
|
</p>
|
|
<!--#include virtual="/en_US/ssi/localfooter.ssi" -->
|
<!--#include virtual="footer.ssi" -->
|
<!--#include virtual="/ubi/analytics/analytics_ssi.html" -->
|
</body>
|
</html>
|