Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm wondering whether it would be possible to setup Tomcat 6 (for hosting Confluence) and either lighttpd or Apache (for PHP things) on the same machine.

Ideally I want to have the root be PHP and /confluence to be tomcat. This is to be run from a CentOS based VPS account at a hosting company all under one domain.

I'm quite new to these things and its all a learning exercise, I'm just confused about routing and how things may be affected.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

first, your setup is possible.

setup a lighttpd or apache to serv your php stuff. then you configure a location for your confluence installation and configure it to forward the request to your tomcat with mod_proxy.

as you want it as a learning experience, this should give you the direction and the apache doc here should help you with the rest.

when there are more question, don't hesitate to ask, but for learning you should try for yourself first.

share|improve this answer
    
Wow thank-you so much! I will read through and see how I go, but I'm glad I can get this done! –  Sandra Pilkington Feb 20 '10 at 23:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.