<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body 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 class="moz-txt-link-freetext" href="http://www.wjug.ca">http://www.wjug.ca</a> <br>
<a class="moz-txt-link-freetext" href="http://wjug.ca/welcome/index.html">http://wjug.ca/welcome/index.html</a><br>
<br>
<br>
Thanks<br>
Babak<br>
<br>
<div class="moz-cite-prefix">On 10/26/2014 4:54 AM, Arash
Kaffamanesh wrote:<br>
</div>
<blockquote
cite="mid:CA+LqMcH-uBYQ=GfLekY_+wwnnOx7G4dNOqoU7a_Xe2VjK2Mg0w@mail.gmail.com"
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:0 0 0
.8ex;border-left:1px #ccc 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 class="HOEnZb"><font color="#888888"><br>
Babak</font></span>
<div>
<div class="h5"><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 class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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 class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>