On 11/9/05, Kevin Dangoor <[EMAIL PROTECTED]> wrote:

> > Yes, this is your best bet. And if you want multiple hosts all
> > appearing at port 80, then running Apache or lighthttpd in front is
> > the way to go.
 

> Is there a problem if they're both on 80, such as lockups or
> something, or is this simply a 'best practice'?

The port is what uniquely identifies a service on an IP address. The
only way to have two different separate servers listening on port 80
is if you have two different IP addresses that you can bind them to.
Apache and lighthttpd can put many sites on a single IP address/port by using the HTTP Host header to determine which site is supposed to be responding.

In other words, virtual hosting, or so it would seem :-)

Maybe I'll look into modifying the Twisted adapter for Django to work with CherryPy - I know Twisted well enough for that sort of thing, but Apache and lighthttpd I don't, and would rather avoid getting TOO much on my plate.

(sigh) Then again, can't hurt to learn, right? :-)   Thanks much!


--
"Things fall apart. The Center cannot hold."
                  - Life as a QA geek, in a nutshell.

Best,

    Jeff

Reply via email to