[opencms-dev] removing opencms/ from the URL

Deiverson Silveira deiverson at solutioncms.com
Wed Jun 11 21:02:08 CEST 2014


Try add this for redirect:

        ProxyPass               /opencms/resources/commons
http://localhost:8080/opencms/resources/commons
        ProxyPassReverse        /opencms/resources/commons
http://localhost:8080/opencms/resources/commons

        ProxyPass               /opencms/export/
http://localhost:8080/opencms/export/
        ProxyPassReverse        /opencms/export/
http://localhost:8080/opencms/export

        ProxyPass        /opencms   http://localhost:8080/opencms/
        ProxyPassReverse /opencms   http://localhost:8080/opencms

        ProxyPass /          http://localhost:8080/opencms/opencms/
        ProxyPassReverse /   http://localhost:8080/opencms/opencms



2014-06-11 15:47 GMT-03:00 Dudu Zoltan <dzoltan at gmail.com>:

> thanks for everyone for the help,
> my configuration is the default one regarding apache, tomcat and openCMS
> (plus the changes as written in the wiki)
>
> with Deiverson's method I can reach www.mysite.com (no 404) but all
> images and CSS are not loaded.
>
>
> On Wed, Jun 11, 2014 at 4:15 PM, Christoph Kukulies <
> kuku at physik.rwth-aachen.de> wrote:
>
>>  opencms-importexport.xml should have the lines changed to:
>>
>> <rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix>
>> <vfs-prefix>${CONTEXT_NAME}</vfs-prefix>
>>
>> Also examine the error logs
>>
>>
>> --
>> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
>>
>>
>> Am 11.06.2014 07:29, schrieb Dudu Zoltan:
>>
>> Hello,
>> I installed OpenCMS 9.0.1 and the demo site + login worked OK.
>>
>>  I followed the instructions in
>> http://www.opencms-wiki.org/wiki/Avoiding_/opencms/opencms_in_the_URL_(apache_%2B_mod_proxy)
>> <http://www.opencms-wiki.org/wiki/Avoiding_/opencms/opencms_in_the_URL_%28apache_%2B_mod_proxy%29>
>> to remove the opencms/ part in the URL but after the changes I receive the
>> OpenCMS 404 page when trying to open www.example.com or
>> www.example.com/system/login.
>>
>>  My environment is Ubuntu linux 14.04, apache, Tomcat
>> OpenCMS is installed as ROOT webapp
>> (I also tried different combinations for the apache rewrite and proxy
>> configuration wihtout success)
>>
>>  Please help me understand what I am missing.
>> Thank you very much.
>>
>>
>>
>> _______________________________________________
>> 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
>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>
>>
>>
>>
>>
>
> _______________________________________________
> 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
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>


-- 
*www.solutioncms.com <http://www.solutioncms.com>The Brazilian Official
Provider OpenCms*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140611/5a4d08f4/attachment.htm>


More information about the opencms-dev mailing list