Hi,

I tried to follow the instructions here:
http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs

and the URLs look great, but I couldn't get the skins and logo to work.

The problem is this part of the instructions:

<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>

This is totally wrong for me.  I'm using xwiki + Jetty + lighttpd on Debian
stable/testing.

The correct entry into web.xml is to add:

  <servlet-mapping>
    <servlet-name>default</servlet-name>
    <url-pattern>/resources/*</url-pattern>
  </servlet-mapping>

  <servlet-mapping>
    <servlet-name>default</servlet-name>
    <url-pattern>/skins/*</url-pattern>
  </servlet-mapping>


in addition to:
  <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>/*</url-pattern>
  </servlet-mapping>


It would also help if someone wrote WHERE to put these things in the web.xml
file.  I guessed, and it appears to work.


thanks,
Paul
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to