I have installed apache on centos and configured cpanel/whm. I have a jsp project which is hosted on the server and also we need to maintain some php files for supporting helpdesk.
jsp project url is http:www.xyz.in:8090/jspproject/index.jsp
php files url is http:www.xyz.in/heldesk/index.html
helpdesk folder and jspproject are placed under public_html i.e. /home/account/publich_html.
The following task is required
- When user types url either "http:www.xyz.in" or "http:www.xyz.in:8090" then jspproject should run (http:www.xyz.in/jspproject/index.jsp) and still url must be "http:www.xyz.in/jspproject"
- When user types url as "http:www.xyz.in/helpdesk" then helpdesk (php files) should run (http:www.xyn.in/helpdesk/index.html) and url must be "http:www.xyn.in/helpdesk"
.htaccess is placed under /home/account/public_html/
Please advice me how to handle in .htaccess with rewrite rule.