remove jsp support from a web site in cpanel server

From WebHostingNeeds.com
Jump to: navigation, search

You can remove Tomcat support for sites via /scripts/remservlets, which uses the following syntax:

/scripts/remservlets --domain=domain-you-want-to-remove-jsp-and-servlets.com

Currently no interface exists for this in WHM.


[[email protected] public_html]# /scripts/remservlets --domain=hostonnet.com
Scanning httpd.conf.......................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
......................................
Done: .jsp support removed for hostonnet.com
[[email protected] public_html]#