Regarding ea-tomcat85 .html
Hello!
I just had a couple of questions regarding ea-tomcat85 and my Java spring boot web application. At the current time you can access my web application via mydomain.com//index.html
Firstly, do you guys know or have any good articles on how to do so that when I go to mydomain.com I get automatically sent to the webapplication (so that I don't have to search the whole link as above). My second question is how to remove the .html at the end of the pages, as normally you would use the .htaccess, but I am quite unsure on how to do it in a java web application.
Thank you for all the replies!
Best Regards
- Inwin1
-
This is explained in the Apache documentation here: mod_dir - Apache HTTP Server Version 2.4 there's the following for Tomcat Tomcat 8 filter to remove extensions from URLs as well as Tomcat base URL redirection 0 -
This is explained in the Apache documentation here: Tomcat 8 filter to remove extensions from URLs as well as .com (had to put space so that it doesnt create automatic link) at the main domain which shows the content in the public_html, and have my java web application at a url like this .com direct to my webapps folder in ea-tomcat. I have been reading a bit, and it looks like I need to change up the port for the java web application to 443, but the issue is that the port is already used for the public_html. How can I change this up, so that Please note I am using example.com as an example domain, its not my actual website. Thank you so much for the help!
0 -
443 is used by default for Apache SSL but you can change that port in WHM>>Server Configuration>>Tweak Settings - once Apache SSL is listening on an alternate port you can assign 443 to the service you need. 0
Please sign in to leave a comment.
Comments
3 comments