Hello list,
As I reported, shortURLs worked well (and my issue about error 404 is
resolve by upgrading to 7.3-m2).
But I need to go a tick further in my ShortURLs attempt: I want some
files to be statically served.
Typical cases include:
- /favicon.ico
- /robots.txt
- the google or other witnesses (e.g. StartSSL)
It seems that the URLRewrite suggestion is really good for the flexible
page rewrite but it does not have the flexibility of Apache mod_rewrite
so that it serves files or tests if files are existing (at least not
with the urlrewrite.xml syntax).
I tried to map manually servlet-names to Jetty's defaultServlet but that
has not been enough yet. Filters are probably byting (or that
DefaultServlet is something else, unfortunately, "static file" is not a
predefined servlet type of the servlet's standard).
Is there another procedure?
I know I can make it in mod_rewrite but I've been trying to focus on
making it all in XWiki and I am surely not alone expecting that.
thanks
Paul