<div dir="ltr"><div class="gmail_extra">Hi Christoph,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Just copy the default vhost to to a new domain-name.conf file and adapt the ServerName, extend the site node in opencms-system.xml to match your "domain-name", restart tomcat and reload apache and you should be fine.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">By the way the new site management tool in OpenCms 9 was built for that (thanks to RĂ¼diger for the hard work :-)).</div><div class="gmail_extra">With this you can create new sites in production environments without having to restart tomcat!</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><a href="http://de.slideshare.net/AlkaconOpenCms/opencms-days-2013-site-management-tool">http://de.slideshare.net/AlkaconOpenCms/opencms-days-2013-site-management-tool</a></div>
<div class="gmail_extra"><br></div><div class="gmail_extra">HTH,</div><div class="gmail_extra">Kind Regards,</div><div class="gmail_extra">Arash</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 26, 2014 at 10:23 AM, Christoph Kukulies <span dir="ltr"><<a href="mailto:kuku@physik.rwth-aachen.de" target="_blank">kuku@physik.rwth-aachen.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Hi Arash, list,<br>
      <br>
      just one question: how do I create connectors for multiple
      virtualhosts/sites when using that<br>
      way of installation (opencms as opencms app and APJ-worker) ?<br>
      <br>
      Am 25.08.2014 um 17:32 schrieb Arash Kaffamanesh:<br>
    </div><div class="">
    <blockquote type="cite">
      
      <div dir="ltr">
        <div class="gmail_extra">Hi Christoph,<br>
          <br>
        </div>
        <div class="gmail_extra">Thanks for the hint, the link was
          broken after an upgrade to OpenCms 9, its now fixed.</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">
          Regarding your question, I'd recommend to use mod_jk with ajp
          connector as described there, its much powerful and performant
          than mod_proxy etc..</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">Kind Regards,</div>
        <div class="gmail_extra">Arash</div>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On Mon, Aug 25, 2014 at 4:25 PM,
            Christoph Kukulies <span dir="ltr"><<a href="mailto:kuku@physik.rwth-aachen.de" target="_blank">kuku@physik.rwth-aachen.de</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000">
                <div>Am 25.08.2014 um 16:07 schrieb Arash Kaffamanesh:<br>
                </div>
                <blockquote type="cite">
                  <div dir="ltr">Hi Christoph,
                    <div><br>
                    </div>
                    <div>
                      <div>see on this page:</div>
                      <div><a href="https://docs.google.com/a/cloudssky.com/document/d/1PUNVQXecxABjf5WNh1xb1CWY-FIBZgOTPO1neIi6EgI/edit?pli=1#heading=h.r4ba2ls3mq1o" target="_blank">https://docs.google.com/a/cloudssky.com/document/d/1PUNVQXecxABjf5WNh1xb1CWY-FIBZgOTPO1neIi6EgI/edit?pli=1#heading=h.r4ba2ls3mq1o</a><br>

                      </div>
                      <div><br>
                      </div>
                      <div>in the appendix of the step by step OpenCms
                        installation guide with Apache, Tomcat 7, MySQL,
                        SSL and much more, works on Ubuntu 12 and 14.<br>
                      </div>
                      <div><br>
                      </div>
                      <div>HTH,</div>
                      <div>Kind Regards,</div>
                      <div>Arash</div>
                      <br>
                    </div>
                  </div>
                </blockquote>
                Thanks a lot, Arash.<br>
                Unfortunately the link to the adressed vhosts file
                (000-default) in the document is broken.<br>
                <span style="font-size:15px;font-family:Arial;color:rgb(0,0,0);font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">
                </span><a href="http://cloudssky.com/en/downloads/000-default" style="text-decoration:none" target="_blank"><span style="font-size:15px;font-family:Arial;color:rgb(17,85,204);font-weight:normal;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;background-color:transparent"></span></a><br>

                I'm not using ajp workers on port 8009, instead I have
                an extra connector for every VirtualHost site (have four
                or five<br>
                of those). Would that work also?<br>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <div>-- <br>
      Chris Christoph P. U. Kukulies kukulies (at) <a href="http://rwth-aachen.de" target="_blank">rwth-aachen.de</a>
    </div>
  </div></div>

<br>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br></div></div>