Considering the above mentioned requirements, you can run YouTrack with the following command:
YouTrack Standalone JAR distribution bundles Jetty 6.1.x Servlet container.
Generally there is no need in web server, you can run JAR as a java standalone process without using web server.
However, if you need to connect Jetty and Apache Web Server, you will have to use Apache server with connectors: mod_proxy, or mode_jk.
Official Jetty site, contains extensive documentation about configuring and using Jetty with Apache Web Server via connectors.
Please refer to the corresponding section for details:
- Configuring Apache mod_proxy with Jetty (recommended by Jetty)
- Configuring AJP13 Using mod_jk or mod_proxy_ajp
When you configured Jetty to Apache Web Server connection, start YouTrack with the following command:
and then start your Apache Web Server.