[opencms-dev] Opencms 10 vaadin error

] Code Create [ ocms at code-create.de
Thu Dec 28 19:31:24 CET 2017


Hi,

had the same problem and had to add

RewriteCond %{REQUEST_URI} !^/workplace.*$

instead of

RewriteCond %{REQUEST_URI} !^/workplace/.*$

to make it work, cause the URL for the workplace is something like:

http://opencms.domain/workplace#!explorer/4aa21354-ebf5-11e7-9980-000c293829cf!!/!!/sites/default/!!

There is no "/" behind "workplace".

Strange URL anyway :D.

Kind regards, Bernd

Am 07.04.16 um 13:41 schrieb Tobias Herrmann:
> Hi,
> 
> it seems you have installed OpenCms behind a webserver like Apache. You 
> need to extend your rewrite rules as we have added new servlet-mappings 
> in OpenCms 10. Requests starting with '/workplace/' or '/VAADIN/' need 
> to reach the web-app unchanged and should not be rewritten to 
> '/opencms/workplace/...' or '/opencms/VAADIN/...'.
> 
> In case you use the following rules:
> 
> # 7. Add opencms/ prefix if required
> RewriteCond %{REQUEST_URI} !^/resources/.*$
> RewriteCond %{REQUEST_URI} !^/export/.*$
> RewriteCond %{REQUEST_URI} !^/webdav.*$
> RewriteRule !^/opencms/(.*)$ /opencms%{REQUEST_URI} [PT]
> 
> You need to add to lines:
> 
> # 7. Add opencms/ prefix if required
> RewriteCond %{REQUEST_URI} !^/workplace/.*$
> RewriteCond %{REQUEST_URI} !^/VAADIN/.*$
> RewriteCond %{REQUEST_URI} !^/resources/.*$
> RewriteCond %{REQUEST_URI} !^/export/.*$
> RewriteCond %{REQUEST_URI} !^/webdav.*$
> RewriteRule !^/opencms/(.*)$ /opencms%{REQUEST_URI} [PT]
> 
> We have updated the public documentation accordingly: 
> http://documentation.opencms.org/opencms-documentation/server-installation/apache-webserver-configuration/ 
> 
> 
> Hope that helps.
> 
> Regards,
> 
> Tobias
> 
> -- 
> 
> Alkacon Software GmbH - The OpenCms Experts
> 
> http://www.alkacon.com
> http://www.opencms.org
> 
> Am 07.04.2016 um 12:24 schrieb Lucas Rol:
>> Hi all, i've made a full clean opencms 10 installation. Everything 
>> seems to be ok except for a window error appearing in different áreas 
>> such as Administration view(in traditional workplace) . For instance, 
>> in Administration view, site management, new site, im getting this: 
>> "Failed to load the
>> bootstrap JavaScript VAADIN/vaadinBootstrap.js"...any help?. Thanks in 
>> advance.
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
> 
> ---
> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
> https://www.avast.com/antivirus
> 
> _______________________________________________
> 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
> 
> 
> 
> 



More information about the opencms-dev mailing list