<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Arash,<br>
    <br>
    I tried following your document one more time and this time working
    with no problem.<br>
    <br>
    One of the problem was my virtual host config.<br>
    Some how the *:80 is not working on this VPS that I have and had to
    put individual ip addresses for both ip and loopback in vhost
    config.<br>
    <br>
    <font color="#990000">The only problem web site has, is accessing
      <a class="moz-txt-link-freetext" href="http://www.wjug.ca/">http://www.wjug.ca/</a> while without www and <a class="moz-txt-link-freetext" href="http://wjug.ca">http://wjug.ca</a> is
      working with no problem.</font><br>
    <br>
    This is what I have in virtual host config:<br>
    <br>
    <VirtualHost 69.55.234.89:80 127.0.0.1:80><br>
        ServerName  wjug.ca<br>
        ServerAlias <a class="moz-txt-link-abbreviated" href="http://www.wjug.ca">www.wjug.ca</a><br>
    <br>
    <br>
    <font color="#990000">Thank you very much for amazing document.<br>
    </font><br>
    Thanks<br>
    <br>
    <div class="moz-cite-prefix">On 10/26/2014 11:48 AM, Arash
      Kaffamanesh wrote:<br>
    </div>
    <blockquote
cite="mid:CA+LqMcH_zseryKyGuxyhDrbUTS8rFtJxT2ReEMvZrZ-=hGrTdA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">Under which user is tomcat running? do
          a "chown -R tomcat.tomcat /path/to/tomcat"</div>
        <div class="gmail_extra">It seems u have some permission
          problems:</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">
          <h1 style="color:rgb(0,0,0);font-family:Times">Forbidden</h1>
          <p style="color:rgb(0,0,0);font-family:Times;font-size:medium">You
            don't have permission to access / on this server.</p>
        </div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Sun, Oct 26, 2014 at 5:44 PM,
            Arash Kaffamanesh <span dir="ltr"><<a
                moz-do-not-send="true" href="mailto:ak@cloudssky.com"
                target="_blank">ak@cloudssky.com</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 dir="ltr">
                <div class="gmail_extra">Hi Babak,</div>
                <div class="gmail_extra"><br>
                </div>
                <div class="gmail_extra">Without having the log files
                  its not so easy to say what's going wrong.</div>
                <div class="gmail_extra">But perhaps for tomcat 6 you
                  could try to set the context tag as following:</div>
                <div class="gmail_extra"><br>
                </div>
                <div class="gmail_extra"><span>
                    <p dir="ltr"
                      style="line-height:1.15;margin-top:0pt;margin-bottom:10pt"><span
style="font-size:15px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><Context></span></p>
                    <span
style="font-size:15px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><!--
                      Context sessionCookiePath="/" --></span></span><br>
                </div>
                <div class="gmail_extra"><span><span
style="font-size:15px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><br>
                    </span></span></div>
                <div class="gmail_extra"><span><span
style="font-size:15px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Some
                      questions:</span></span></div>
                <div class="gmail_extra"><span><span
style="font-size:15px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><br>
                    </span></span></div>
                <div class="gmail_extra"><span><span
style="font-size:15px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">On
                      which operating are you?</span></span></div>
                <div class="gmail_extra"><span><span
style="font-size:15px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Is
                      Tomcat listening on 8080 port? (</span></span><font
                    color="#000000" face="Arial"><span
                      style="font-size:15px;white-space:pre-wrap"><a
                        moz-do-not-send="true"
                        href="http://wjug.ca:8080/" target="_blank">http://wjug.ca:8080/</a>
                      is dead)</span></font></div>
                <div class="gmail_extra"><font color="#000000"
                    face="Arial"><span
                      style="font-size:15px;white-space:pre-wrap">What
                      does your jk.log, apache log (error log, access
                      log), opencms.log say? </span></font></div>
                <div class="gmail_extra"><font color="#000000"
                    face="Arial"><span
                      style="font-size:15px;white-space:pre-wrap">Do you
                      have adapted the vhost with the right path to your
                      tomcat?</span></font></div>
                <div class="gmail_extra"><span
style="color:rgb(0,0,0);font-family:Arial;font-size:15px;white-space:pre-wrap;background-color:transparent">did
                    you used this vhost? <a moz-do-not-send="true"
                      href="http://cloudssky.com/.galleries/download/000-default"
                      target="_blank">http://cloudssky.com/.galleries/download/000-default</a></span></div>
                <div class="gmail_extra"><span
style="color:rgb(0,0,0);font-family:Arial;font-size:15px;white-space:pre-wrap;background-color:transparent">Why
                    not using tomcat 7?</span></div>
                <span class=""><font color="#888888">
                    <div class="gmail_extra"><span
style="color:rgb(0,0,0);font-family:Arial;font-size:15px;white-space:pre-wrap;background-color:transparent"><br>
                      </span></div>
                    <div class="gmail_extra"><span
style="color:rgb(0,0,0);font-family:Arial;font-size:15px;white-space:pre-wrap;background-color:transparent">-Arash</span></div>
                  </font></span>
                <div>
                  <div class="h5">
                    <div class="gmail_extra"><span
style="color:rgb(0,0,0);font-family:Arial;font-size:15px;white-space:pre-wrap;background-color:transparent"><br>
                      </span></div>
                    <div class="gmail_extra"><br>
                    </div>
                    <div class="gmail_extra"><br>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Sun, Oct 26, 2014 at
                        5:08 PM, Babak <span dir="ltr"><<a
                            moz-do-not-send="true"
                            href="mailto:babak@wjug.ca" target="_blank">babak@wjug.ca</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"> Hi
                            Arash,<br>
                            <br>
                            I followed your document step by step and
                            configured mod_jk and mod_rewrite but there
                            are problems.<br>
                            <br>
                            Can you please check below URLs and let me
                            know what you think ?<br>
                            <br>
                            <a moz-do-not-send="true"
                              href="http://www.wjug.ca" target="_blank">http://www.wjug.ca</a>
                            <br>
                            <a moz-do-not-send="true"
                              href="http://wjug.ca/welcome/index.html"
                              target="_blank">http://wjug.ca/welcome/index.html</a><br>
                            <br>
                            <br>
                            Thanks<span><font color="#888888"><br>
                                Babak</font></span>
                            <div>
                              <div><br>
                                <br>
                                <div>On 10/26/2014 4:54 AM, Arash
                                  Kaffamanesh wrote:<br>
                                </div>
                                <blockquote type="cite">
                                  <div dir="ltr">
                                    <div class="gmail_extra">Hi Babak,</div>
                                    <div class="gmail_extra"><br>
                                    </div>
                                    <div class="gmail_extra">As I see
                                      you're using OpenCms 8.5 and
                                      tomcat 6 and I guess the
                                      documentation for the mod_proxy on
                                      wiki for this combination is
                                      outdated.</div>
                                    <div class="gmail_extra">I highly
                                      recommend to use mod_jk and
                                      mod_rewrite with the ajp connector
                                      (is much powerful and more
                                      configurable).</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>
                                    </div>
                                    <div class="gmail_extra"><br>
                                      <div class="gmail_quote">On Sun,
                                        Oct 26, 2014 at 10:39 AM, Babak
                                        <span dir="ltr"><<a
                                            moz-do-not-send="true"
                                            href="mailto:babak@wjug.ca"
                                            target="_blank">babak@wjug.ca</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"> Hi Arash,<br>
                                            <br>
                                            Thanks for the reply.<br>
                                            <br>
                                            I am running OpenCMS on my
                                            own server and not using
                                            Docker.<br>
                                            <br>
                                            Also I am not using mod_jk.<br>
                                            <br>
                                            I am using mod_proxy and
                                            ProxyPass to remove
                                            /opencms/opencms/ and port
                                            from the url<br>
                                            but now want to exclude any
                                            uri that have /system/login/
                                            but below directive to
                                            exclude is not working :<br>
                                            ProxyPass           
                                            /system/login/    !<br>
                                            <br>
                                            <font color="#993300">I can
                                              access below link:<br>
                                              <a moz-do-not-send="true"
href="https://wjug.ca:8443/opencms/opencms/system/login/index.html"
                                                target="_blank">https://wjug.ca:8443/opencms/opencms/system/login/index.html</a><br>
                                              <br>
                                              but as soon as I click on
                                              Login, even without
                                              entering user id or
                                              password, link will be
                                              forwarded to:<br>
                                              <a moz-do-not-send="true"
href="https://wjug.ca:8443/system/login/index.html" target="_blank">https://wjug.ca:8443/system/login/index.html</a></font><br>
                                            <br>
                                            <br>
                                            Thanks<span><font
                                                color="#888888"><br>
                                                Babak</font></span>
                                            <div>
                                              <div><br>
                                                 <br>
                                                <br>
                                                <div>On 10/26/2014 2:38
                                                  AM, Arash Kaffamanesh
                                                  wrote:<br>
                                                </div>
                                                <blockquote type="cite">
                                                  <div dir="ltr">
                                                    <div
                                                      class="gmail_extra">
                                                      <div>
                                                        <div dir="ltr">
                                                          <div
                                                          style="font-family:arial;font-size:small">Hi

                                                          Babak,
                                                          <p
                                                          style="color:rgb(34,34,34)"><span
style="color:rgb(11,83,148)"></span><font> </font></p>
                                                          </div>
                                                          <div
                                                          style="font-family:arial;font-size:small">here

                                                          is a short
                                                          guide for
                                                          OpenCms 8.x
                                                          and 9.x on
                                                          Ubuntu (and
                                                          should work
                                                          for any other
                                                          linux distro)
                                                          with mod_jk,
                                                          mod_rewrite
                                                          and ajp and it
                                                          works with
                                                          tomcat 7 and
                                                          apache 2.2:</div>
                                                          <div
                                                          style="font-family:arial;font-size:small"><br>
                                                          </div>
                                                          <div><a
                                                          moz-do-not-send="true"
href="http://ow.ly/DlmBv" target="_blank">http://ow.ly/DlmBv</a><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div>By the
                                                          way if you
                                                          love docker,
                                                          that
                                                          opencms-stack-aio
                                                          docker image
                                                          is here:</div>
                                                          <div><a
                                                          moz-do-not-send="true"
href="https://registry.hub.docker.com/u/cloudssky/opencms-stack-aio/"
                                                          target="_blank">https://registry.hub.docker.com/u/cloudssky/opencms-stack-aio/</a><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div>HTH,</div>
                                                          <div>Arash</div>
                                                          <div
                                                          style="font-family:arial;font-size:small"><br>
                                                          </div>
                                                          <div
                                                          style="font-family:arial;font-size:small"><br>
                                                          </div>
                                                        </div>
                                                      </div>
                                                      <br>
                                                      <div
                                                        class="gmail_quote">On
                                                        Sun, Oct 26,
                                                        2014 at 7:49 AM,
                                                        Babak <span
                                                          dir="ltr"><<a
moz-do-not-send="true" href="mailto:babak@wjug.ca" target="_blank">babak@wjug.ca</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">I
                                                          am following
                                                          below document
                                                          to secure
                                                          workplace :<br>
                                                          <a
                                                          moz-do-not-send="true"
href="http://www.opencms-wiki.org/wiki/Enforcing_SSL_Encryption_for_the_Opencms_workplace"
target="_blank">http://www.opencms-wiki.org/wiki/Enforcing_SSL_Encryption_for_the_Opencms_workplace</a><br>
                                                          <br>
                                                          I can access
                                                          workplace with
                                                          https, but
                                                          after login,
                                                          because of
                                                          ProxyPass
                                                          directive in
                                                          Apache config<br>
                                                          /opencms/opencms/
                                                          is removed and
                                                          getting 404
                                                          error:<br>
                                                          HTTP Status
                                                          404 -
                                                          /system/login/index.html<br>
                                                          <br>
                                                          I tried
                                                          excluding
                                                          /system/login/
                                                          from proxypass
                                                          but still
                                                          /opencms/opencms/
                                                          is being
                                                          removed from
                                                          URL<br>
                                                          and getting
                                                          404 errror.<br>
                                                          <br>
                                                          <VirtualHost
                                                          ip:80><br>
                                                          <br>
                                                          ProxyPass     
                                                               
                                                          /system/login/ 
                                                            !<br>
                                                          <br>
</VirtualHost><br>
                                                          <br>
                                                          Appreciate of
                                                          any tip that
                                                          might help
                                                          fixing the
                                                          problem.<br>
                                                          <br>
                                                          Thanks for
                                                          help.
                                                          <div>
                                                          <div><br>
                                                          <br>
                                                          On 10/24/2014
                                                          4:24 PM, Babak
                                                          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">Hi<br>
                                                          <br>
                                                          I am using
                                                          ProxyPass to
                                                          remove
                                                          /opencms/opencms/
                                                          from my web
                                                          site URL<br>
                                                          and every
                                                          thing works
                                                          fine.<br>
                                                          <br>
                                                          Now I need to
                                                          enable secure
                                                          login for
                                                          workplace and
                                                          already added
                                                          below line to
                                                          opencms-system.xml
                                                          :<br>
<workplace-server><a moz-do-not-send="true" href="https://wjug.ca"
target="_blank">https://wjug.ca</a></workplace-server><br>
                                                          <br>
                                                          However when I
                                                          try to login I
                                                          get below
                                                          error:<br>
                                                          The requested
                                                          URL
                                                          /system/login/
                                                          was not found
                                                          on this
                                                          server.<br>
                                                          <br>
                                                          Is there
                                                          something I am
                                                          missing in my
                                                          configuration
                                                          ?<br>
                                                          has anyone
                                                          setup secure
                                                          workplace ?<br>
                                                          <br>
                                                          Thanks<br>
                                                          <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
                                                          moz-do-not-send="true"
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>
                                                          <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
                                                          moz-do-not-send="true"
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>
                                                          </div>
                                                          </div>
                                                        </blockquote>
                                                      </div>
                                                      <br>
                                                    </div>
                                                  </div>
                                                  <br>
                                                  <fieldset></fieldset>
                                                  <br>
                                                  <pre>_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
<a moz-do-not-send="true" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>



</pre>
                                                </blockquote>
                                                <br>
                                              </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 moz-do-not-send="true"
                                            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>
                                  <br>
                                  <fieldset></fieldset>
                                  <br>
                                  <pre>_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
<a moz-do-not-send="true" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>



</pre>
                                </blockquote>
                                <br>
                              </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 moz-do-not-send="true"
                            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>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>