Cannot server files from apache htdocs in apache tomcat AWS ami

I just installed the apache tomcat AMI on amazon ec2. for some reason all my requests are going to tomcat

I canot seem to serve pages from apache htdocs folder.

for example i cannot hit this page

http://13.58.19.244/contact.html even though it is in the htdocs folder. Also I have stopped tomcat, but kept apache running. Would really appreciate any help on this as I have a time sensitive deadline

okay figured it out

seems httpd.conf “includes” bitnami.conf

bitnami.conf includes tomcat.conf which is doing some magic. I have commented out tomcat.conf and i can serve static pages now

I think i can figure out how to rewrite apache tomcat from here. thanks

Hi!

In our docs, we explain how is Apache and Tomcat configured, you can take a look at the following links:

I hope this information is useful for you. If you have any other question, please do not hesitate to let us know.

Best Regards,
Carlos R. Hernández

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.