Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to mount Web application in Apache/Tomcat environment on UNIX?

0
Posted

How to mount Web application in Apache/Tomcat environment on UNIX?

0

When you install Tomcat 3.1beta1, the examples of web applications will be located under directory $TOMCAT_HOME/webapps. For the real stuff, it is probably not where you want your Web Applications to be located. You want them in your Web Documement Tree. For example, for apache, by default, it will be $APACHE_HOME/htdocs. Assuming that your web application is located in the directory /home/joeshmoe/mystuff/Shop, and you want to access it as: http://www.mycomp.com/Shop/ you may want to move it to $APACHE_HOME/htdocs, i.e, create directory $APACHE_HOME/htdocs/Shop. Note, that you can mount and serve on the web any directory which is accessible on your computer. The issue is that from the maintainance perspective, it is nice to have things in the expected place, i.e., under Web Server Document Root directory. But if you just moved it there, and did not change the configuration files, Apache would serve this directory as regular files, and Tomcat would not even know about it. To have this

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123