- 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 .
Workaround for Windows
It is possible to make JAVA application available by
http://example.com URL, using IIS rewrite rules:
1. Log in to Plesk server via RDP
2. 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.
2. Restart IIS to apply the changes: