<div dir="ltr"><div><pre><div style><font face="arial"><span style="white-space:normal">Hi Dudu,</span></font></div><div style><font face="arial"><span style="white-space:normal"><br></span></font></div><div style><font face="arial"><span style="white-space:normal">Try for remove with method ProxyPass:</span></font></div>
<div style><font face="arial"><span style="white-space:normal">1-Edit and remove comments this line:</span></font></div><div style><font face="arial"><span style="white-space:normal"># Virtual hosts</span></font></div><div style>
<font face="arial"><span style="white-space:normal">Include conf/extra/httpd-vhosts.conf</span></font></div><div style><font face="arial"><span style="white-space:normal">and</span></font></div><div style><font face="arial"><span style="white-space:normal">LoadModule proxy_module modules/mod_proxy.so</span></font></div>
<div style><font face="arial"><span style="white-space:normal">LoadModule proxy_ajp_module modules/mod_proxy_ajp.so</span></font></div><div style><font face="arial"><span style="white-space:normal">LoadModule proxy_balancer_module modules/mod_proxy_balancer.so</span></font></div>
<div style><font face="arial"><span style="white-space:normal">LoadModule proxy_connect_module modules/mod_proxy_connect.so</span></font></div><div style><font face="arial"><span style="white-space:normal">LoadModule proxy_ftp_module modules/mod_proxy_ftp.so</span></font></div>
<div style><font face="arial"><span style="white-space:normal">LoadModule proxy_http_module modules/mod_proxy_http.so</span></font></div><div style><font face="arial"><span style="white-space:normal"><br></span></font></div>
<div style><font face="arial"><span style="white-space:normal">2- Edit file Apache\conf\extra\http-vhosts.conf and add:</span></font></div><div style><font face="arial"><span style="white-space:normal"><VirtualHost <a href="http://www.yoursite.com:80">www.yoursite.com:80</a>></span></font></div>
<div style><font face="arial"><span style="white-space:normal">ServerName <a href="http://yoursite.com">yoursite.com</a></span></font></div><div style><font face="arial"><span style="white-space:normal">  <Proxy *></span></font></div>
<div style><font face="arial"><span style="white-space:normal">     Allow from all</span></font></div><div style><font face="arial"><span style="white-space:normal">  </Proxy></span></font></div><div style><font face="arial"><span style="white-space:normal"><br>
</span></font></div><div style><font face="arial"><span style="white-space:normal">ProxyPass            /opencms/   <a href="http://www.yoursite.com:8080/opencms/">http://www.yoursite.com:8080/opencms/</a></span></font></div>
<div style><font face="arial"><span style="white-space:normal">ProxyPassReverse /opencms/   <a href="http://www.yoursite.com:8080/opencms/">http://www.yoursite.com:8080/opencms/</a></span></font></div><div style><font face="arial"><span style="white-space:normal"> ProxyPass            /</span></font></div>
<div style><font face="arial"><span style="white-space:normal"><a href="http://www.yoursite.com:8080/opencms/opencms/">http://www.yoursite.com:8080/opencms/opencms/</a></span></font></div><div style><font face="arial"><span style="white-space:normal">ProxyPassReverse /   <a href="http://www.yoursite.com:8080/opencms/opencms/">http://www.yoursite.com:8080/opencms/opencms/</a></span></font></div>
<div style><font face="arial"><span style="white-space:normal"></VirtualHost></span></font></div><div style><font face="arial"><span style="white-space:normal"><br></span></font></div><div style><font face="arial"><span style="white-space:normal">3 - Edit file opencms-importexport.xml and remove</span></font></div>
<div style><font face="arial"><span style="white-space:normal">${CONTEXT_NAME}${SERVLET_NAME}:</span></font></div><div style><font face="arial"><span style="white-space:normal"><br></span></font></div><div style><font face="arial"><span style="white-space:normal"><vfs-prefix></vfs-prefix></span></font></div>
<div style><font face="arial"><span style="white-space:normal"><br></span></font></div><div style><font face="arial"><span style="white-space:normal">4 - Restart your server app and apache</span></font></div><div style><font face="arial"><span style="white-space:normal"><br>
</span></font></div><div style><font face="arial"><span style="white-space:normal">Regards,</span></font></div><div style><font face="arial"><span style="white-space:normal"><br></span></font></div><div style><font face="arial"><span style="white-space:normal">Deiverson</span></font></div>
<font color="#000000"><span style="white-space:pre-wrap">
</span></font></pre></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-11 2:29 GMT-03:00 Dudu Zoltan <span dir="ltr"><<a href="mailto:dzoltan@gmail.com" target="_blank">dzoltan@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div>I installed OpenCMS 9.0.1 and the demo site + login worked OK.</div><div><br></div><div>I followed the instructions in <a href="http://www.opencms-wiki.org/wiki/Avoiding_/opencms/opencms_in_the_URL_(apache_%2B_mod_proxy)" target="_blank">http://www.opencms-wiki.org/wiki/Avoiding_/opencms/opencms_in_the_URL_(apache_%2B_mod_proxy)</a> to remove the opencms/ part in the URL but after the changes I receive the OpenCMS 404 page when trying to open <a href="http://www.example.com" target="_blank">www.example.com</a> or <a href="http://www.example.com/system/login" target="_blank">www.example.com/system/login</a>.</div>

<div><br></div><div>My environment is Ubuntu linux 14.04, apache, Tomcat</div><div>OpenCMS is installed as ROOT webapp</div><div>(I also tried different combinations for the apache rewrite and proxy configuration wihtout success)</div>

<div><br></div><div>Please help me understand what I am missing.</div><div>Thank you very much.</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><br clear="all"><div><br></div>-- <br><i><div><span style="font-style:normal"><i><div><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><a href="http://www.solutioncms.com" target="_blank">www.solutioncms.com</a></i></span></div>
</i></span></div><div><span style="font-style:normal"><i><span style="font-style:normal"><i><div><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><span style="font-style:normal"><i><div style="display:inline!important">
<i>The Brazilian </i><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><span style="font-style:normal"><i><div style="display:inline!important"><i>Official Provider OpenCms</i></div>
</i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div></i>
</div>