I'm kinda newb when it comes to apache. I've been tasked with
creating a website to manage some local web applications. This site
will be running just on our local LAN (it will _never_ be accessed
from outside this LAN). We have Kubuntu 7.10 running on this machine
and need a setup that enables us to do the following:
The URLs I have denoted are what I envision, although in reality I
guess they could (should?) be different (http://railsapp1, http://djangoapp1,
etc.) Initially, I don't think I'll need a mongrel_cluster or
anything of the like, chances are at most 10 people could be accessing
these apps at once, and in reality probably no more than 2-4 at any
given time.
Again, I'm a complete newb when it comes to apache config files
(<VirtualHost> and the like). I can find gobs of howto's on deploying
1 app or the other, but not for the custom setup I have described
above. If I need to break down and buy an Apache book and spend a
month or two learning, I guess I can.
The URLs I have denoted are what I envision, although in reality I
guess they could (should?) be different (http://railsapp1, http://djangoapp1,
should. For both your users' sake, and in case you want/need to
move an app to another machine.
Again, I'm a complete newb when it comes to apache config files
(<VirtualHost> and the like). I can find gobs of howto's on deploying
1 app
OK, deploy one. Test. Deploy second app. Test. Deploy...
Seriously, there's not that much to configuring a mod_proxy setup,
and multiple proxies, even within one virtual host, are just a couple
more lines. Try it, come back if you have specific questions.
Apache config(there is more to this but this should get you
started... ):
PS You should have a include directive in the main conf/httpd.conf and
add conf files for each of the apps in conf/extra/httpd-app1.conf.
This way you can move/add or disable single apps to apache.
Thanks everyone for the tips. I did get a single rails app deployed
on our Linux system using Apache2 and FastCGI. I'm not at work now,
but tomorrow I will post what I did to get it to work.