Hi, WYSIWYG editor experts!

Tomcat 7 + Nginx + brand new XEM 4.3.1 as ROOT application. 

XWike works fine with short URLs according to manual  
http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs .
Even WYSIWYG editor works fine until you want to insert macro, image or link. 
In the Iframe there is an error  instead of dialog options.

For example, clicking on Macro->Insert Macro gives following:

404 <html> <head><title> 404 Not Found </title></head> <body bgcolor="white"> 
<center><h1> 404 Not Found </h1></center> <hr><center>nginx/1.1.19</center> 
</body> </html> 

Looks like some scripts can not locate something in /skins and /resources, but 
now I can't even guess where to look at and what to search.

Is it a bug and I should jira it OR this is expected behaviour and I miss 
something in short URLs settings? 
How should it be fixed?

Config files settings:

1. xwiki.cfg:
xwiki.virtual.usepath=0 
xwiki.showviewaction=0
xwiki.defaultservletpath= 

2. web.xml. Following was added:
<servlet-mapping>
  <servlet-name>action</servlet-name>
  <url-pattern>/*</url-pattern>
</servlet-mapping>

3. nginx:
   location /skins/ {
       root  /var/lib/tomcat7/webapps/ROOT;
    }
   location /resources/ {
      root  /var/lib/tomcat7/webapps/ROOT;
    }


Kind regards,

Dmitry

P.S. If one wants to see it live, I'll give an access, please write me in 
private.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to