<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Courier;
panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=NO-BOK link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Fabian,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Just for the record: it’s a good idea to keep the workplace on a dedicated domain. If not, cross-site links may/will misbehave.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>(In a setup like yours, I’d expect issues especially with links from D/E to A/B/C.)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cheers,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Paul<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <b>On Behalf Of </b>fhsubscriptions@componio.net<br><b>Sent:</b> 24. november 2014 14:02<br><b>To:</b> The OpenCms mailing list<br><b>Subject:</b> [opencms-dev] [Solved] Re: OpenCms 9.5 /sites not accessable<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hi,<br><br>for future reference I am answering this myself :-)<br><br>If you are using a web proxy in front of the application server and the domain for the workplace server is identical with one of the sites domains, the domain has to be the first to be defined - otherwise you will have the effect as described below.<br><br>The following config works<br><br><span style='font-family:"Courier New"'> <sites><br> <workplace-server><a href="http://">http://</a><b>domainA</b></workplace-server><br> <default-uri>/sites/default/</default-uri><br> <shared-folder>/shared/</shared-folder><br> <site server="<a href="http://http:/">http://http://</a><b>domainA</b>" uri="/sites/default/"><br> <alias server="<a href="http://">http://</a></span><b><span style='font-family:Courier'>domainB</span></b><span style='font-family:"Courier New"'>"/><br> <alias server="<a href="http://">http://</a>domainC"/> <br> </site><br> <site server="<a href="http://">http://</a>domainD" uri="/sites/de/"><br> <alias server="<a href="http://">http://</a>domainE"/><br> </site> <br> </sites><br><br></span>Whereas this config leads to the issues described below<br><br><span style='font-family:"Courier New"'> <sites><br> <workplace-server><a href="http://">http://</a><b>domainA</b></workplace-server><br> <default-uri>/sites/default/</default-uri><br> <shared-folder>/shared/</shared-folder><br> <site server="<a href="http://http:/">http://http://</a></span><b><span style='font-family:Courier'>domainB</span></b><span style='font-family:"Courier New"'>" uri="/sites/default/"><br> <alias server="<a href="http://">http://</a></span><b><span style='font-family:Courier'>domainA</span></b><span style='font-family:"Courier New"'>"/><br> <alias server="<a href="http://">http://</a>domainC"/> <br> </site><br> <site server="<a href="http://">http://</a>domainD" uri="/sites/de/"><br> <alias server="<a href="http://">http://</a>domainE"/><br> </site> <br> </sites><br><br></span>@Alkacon Is this the expected behaviour or is this a bug?<br><br>Kind regards,<br><br>\Fabian<br><br>Am 18.11.2014 15:08, schrieb <a href="mailto:fhsubscriptions@componio.net">fhsubscriptions@componio.net</a>:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>Hi everybody,<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>I am having a strange problem with OpenCms 9.5, Tomcat 7 and NGINX.<o:p></o:p></pre><pre>The system behaves as expected: NGINX acts as a proxy, I cann log in and<o:p></o:p></pre><pre>access all /sites and /system folders and the /shared folder. However I<o:p></o:p></pre><pre>cannot access /sites directly?!?<o:p></o:p></pre><pre>Did someone encounter this problem with 9.5?<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>I know that this issue occurred with 8.x when the proxy forwarded host<o:p></o:p></pre><pre>name did not match the configured workplace host. But in this case both<o:p></o:p></pre><pre>names matches.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Many thanks,<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>\Fabian<o:p></o:p></pre></blockquote><p class=MsoNormal><o:p> </o:p></p></div></body></html>