- Plesk Onyx for Linux
- Plesk 12.5 for Windows
How to install JAVA application in DocumentRoot directory to make it available by direct link
http://example.com instead of
There is no such functionality in Plesk at the moment. The feature request regarding this has been requested on User Voice Deploy Tomcat application as ROOT contexto .
As a workaround, for Windows this is possible to make JAVA application available by
http://example.com URL, using IIS rewrite rules.
Add the following directives to website's
web.config file in
<rule name="java app rewrite rule" enabled="true">
<match url="^" />
<action type="Rewrite" url="http://example.com/java_app" />
Check KB #213943325 article to find how to set up .JSP pages to run from domain's DocumentRoot directory on Linux.