I’m having trouble getting this to work.
I have two domains that I’d like to host from the same machine, using Mongrel and Pound.
/etc/pound.cfg is as follows:
ListenHTTP Address 0.0.0.0 Port 80 Service HeadRequire “Host: .www.linuxlooney.com.” BackEnd Address 127.0.0.1 Port 8000 End BackEnd Address 127.0.0.1 Port 8001 End BackEnd Address 127.0.0.1 Port 8002 End End
Service
HeadRequire “Host: .www.employedorfree.com.” BackEnd Address 127.0.0.1 Port 9000 End BackEnd Address 127.0.0.1 Port 9001 End BackEnd Address 127.0.0.1 Port 9002 End End End
Previous to my attempts to start the second site, linuxlooney.com ran fine… it is a SimpleLog blog. Now when I attempt to start them, both sites will start, but I get the generic “You’re riding the Rails” screen - on both URLs.
What I did was to use Zed’s HOWTO for Pound at http://mongrel.rubyforge.org/docs/pound.html and combine the relevant parts with Robby’s HOWTO for doing multiple sites → http://docs.planetargon.com/wiki/show/Pound+and+Mongrel
I’m all ears… because I’m lost at this point.
Thanks,
Aaron Kulbe