Hello,
Thanks for the great software,, I downloaded and installed
"xwiki-enterprise-installer-windows-2.4.exe" out of the box (means I'm using
Jetty),, then I went through the cool "Short URL" article: 
"http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs"; 

All what I made different, was copying the application files from "xwiki"
folder to "root" folder,, (both inside webapps) to be able to run it from
the root.

I could successfully run the application using my short url
"http://domain.com/"; but the Skins mapping is not working at all,, I spent
several painful hours trying to get it work, but all in vain.

When I used the script in the article ....................
<servlet>
    <servlet-name>defaultSkins</servlet-name>
    <servlet-class>org.mortbay.jetty.servlet.Default</servlet-class>
    <init-param>
      <param-name>relativeResourceBase</param-name>
      <param-value>skins</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet> 
  <servlet-mapping>
    <servlet-name>defaultSkins</servlet-name>
    <url-pattern>/skins/*</url-pattern>
  </servlet-mapping>

...... it makes the whole application fails on this error ...........

HTTP ERROR: 503
Problem accessing /. Reason:
    SERVICE_UNAVAILABLE

........ so I tried "org.mortbay.jetty.servlet.DefaultServlet" instead then
the error was gone but the skins directory is still not mapped !!!

Please help !

-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Skin-Mapping-doesn-t-work-in-Jetty-after-Short-URL-tp5628347p5628347.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to