[{ALLOW view All}]
[{ALLOW edit Authenticated}]
!Jetty as web server substitute during maintenance
On Linux
{{{
apt-get install jetty
}}}
|/usr/share/jetty|Start folder
|/etc/default/jetty|Config file
|/usr/share/java/jetty-start-6.1.24.jar|Main Jar
|/usr/share/jetty/webapps/root/|Root web app
{{{
java -jar start.jar --help
=> java [-DDEBUG] [-DSTART=start.config] [-Dmain.class=org.MyMain]
-jar start.jar [--help|--stop|--version] [config ...]
cd /usr/share/jetty
java -jar start.jar &
java -jar start.jar etc/jetty.xml etc/jetty-rewrite.xml &
java -jar start.jar --stop
}}}
! Make Jetty deliver one page for all URLs
Keyword is "URL Rewrite",
see [http://wiki.eclipse.org/Jetty/Feature/Rewrite_Handler]
| [UrlRewriteFilter Docu|http://urlrewritefilter.googlecode.com/svn/trunk/src/doc/manual/4.0/index.html]