How to resolve .htaccess 'SetEnv' for tomcat
Hi all,
I am trying to host my java website and having a bit of trouble. I followed this tutorial: How to Deploy Java Applications - cPanel Knowledge Base - cPanel Documentation
But I am receiving and Internal Server Error when trying to access the domain from the web.
The message in the Error logs say:
/home/myusername/public_html/.htaccess: Invalid command 'SetEnv', perhaps misspelled or defined by a module not included in the server configuration
In my .htaccess file is:
SetHandler jakarta-servlet
SetEnv JK_WORKER_NAME ajp13
Could someone shed some light on the code that would fix this error?
Please sign in to leave a comment.
Comments
0 comments