<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-signature">I'm fighting with my site's
      configuration. I wanted to configure it as described in<br>
      <br>
<a class="moz-txt-link-freetext" href="http://documentation.opencms.org/opencms-documentation/server-installation/">http://documentation.opencms.org/opencms-documentation/server-installation/</a><br>
      <br>
      using proxy_ajp<br>
      <br>
      This looks elegant but it doesn't work with me here.<br>
      <br>
      What I'm wondering about: when there is written:<br>
      <h2 class="headline"> <span>Creating an AJP connector</span> </h2>
      <div>
        <div>
          <p>To make the Apache web server able to "talk to" Tomcat, an
            AJP connector has to be created.</p>
          <p>Therefore, edit the file <code>conf/server.xml</code> in
            Tomcat's home directory and, if not already there, add an
            AJP connector as shown in the line below:</p>
        </div>
      </div>
      <div>
        <pre class=""><code class=" hljs html"><span class="hljs-tag"><<span class="hljs-title">Connector</span> <span class="hljs-attribute">port</span>=<span class="hljs-value">"8009"</span> <span class="hljs-attribute">enableLookups</span>=<span class="hljs-value">"false"</span> <span class="hljs-attribute">redirectPort</span>=<span class="hljs-value">"8443"</span> <span class="hljs-attribute">protocol</span>=<span class="hljs-value">"AJP/1.3"</span> /></span></code></pre>
      </div>
      <p>The connectors that are predefined by default, e.g.<u>, the
          connector for port 8080, should be removed or at least
          commented out.</u></p>
      <br>
      why then there is something like this (reference to port 8080) in
      <br>
      opencms-importexport.xml:<br>
      <br>
      ```<br>
       <rendersettings><br>
            <rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix><br>
            <vfs-prefix>${CONTEXT_NAME}</vfs-prefix><br>
            <userelativelinks>false</userelativelinks><br>
           
<exporturl>http://127.0.0.1:8080${CONTEXT_NAME}/handle404</exporturl><br>
            <plainoptimization>true</plainoptimization><br>
            <testresource uri="/system/shared/page.dtd"/><br>
            <resourcestorender><br>
              <regex>/sites/.*</regex><br>
             
      <regex>/system/workplace/commons/style/.*</regex><br>
              <regex>/system/galleries/.*</regex><br>
              <regex>/system/modules/.*/resources/.*</regex><br>
            </resourcestorender><br>
          </rendersettings><br>
      ```<br>
      <br>
      And is <br>
          <rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix><br>
            <vfs-prefix>${CONTEXT_NAME}</vfs-prefix><br>
      the correct setting in this file and with the above mentioned
      configuration?<br>
      <br>
      <br>
      -- <br>
      Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
    </div>
  </body>
</html>