How to enable .jsp page support for the domain.
If the .jsp page is showing coding instead of real webpage then you need to check the server settings such as
Search domain name and Uncomment the following line.root@server[~]#vi /etc/httpd/conf/httpd.conf
save and exitCode:Include "/usr/local/apache/conf/userdata/std/1/username/domainname/*.conf"
Enter the following code into the file cp_jkmount.conf.root@server[~]# cd /usr/local/apache/conf/userdata/std/1/
root@server[~]# mkdir username
root@server[~]# cd username
root@server[~]# mkdir domainname
root@server[~]# cd domainname
root@server[~]# vi cp_jkmount.conf
Then check the entry into the tomcat configuration file.Code:<IfModule mod_jk.c> JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /servlets/* ajp13 JkMount /*.do ajp13 </IfModule>
Open above file and add the following code at the end of the file.root@server[~]# vi /usr/local/jakarta/tomcat/conf/server.xml
Save and exitCode:<Host name="domainname" appBase="/home/username/public_html"> <Alias>www.domainname</Alias> <Context path="" reloadable="true" docBase="/home/username/public_html" debug="1"/> <Context path="/manager" debug="0" privileged="true" docBase="/usr/local/jakarta/tomcat/server/webapps/manager"> </Context> </Host>
Then restart the tomcat
Then restart the httpd serviceroot@server[~]# /usr/local/jakarta/tomcat/bin/./shutdown.sh
root@server[~]# /usr/local/jakarta/tomcat/bin/./startup.sh
root@server[~]# /scripts/restartsrv tomcat
root@server[~]# /etc/init.d/httpd stop
root@server[~]# /etc/init.d/httpd startssl
Note : Please replace the "username" with original Username and the "domainname" with original domain name .


Reply With Quote

to the Eukhost community forums & thank you for your input on the JSP addition/removal from SSH 
