Hey Cassie,

Well the PHP server is running under whatever web server people copied
it too, could be on any host name, under any port, and any type of
webserver too (lighttp, apache, etc), so in that regard it is a
different situation from the java version, where shindig is the 'web
server' as well, and much more unpredictable by nature.

However for documentation reasons using http://localhost/ is a
reasonable assumption, and mention that people should replace localhost
with their hostname if applicable.

        -- Chris

On Fri, 2008-03-07 at 13:49 +0100, Cassie wrote:
> Just a quick question. - is the default php server just localhost? Because I
> can add a line in declaring the defaults for both server types. I feel like
> that should be good enough.
> 
> - Cassie
> 
> 
> On Thu, Mar 6, 2008 at 11:11 PM, Kevin Brown <[EMAIL PROTECTED]> wrote:
> 
> > Fair enough.
> >
> > On Thu, Mar 6, 2008 at 2:07 PM, Chris Chabot <[EMAIL PROTECTED]> wrote:
> >
> > > hence the preference for http://<yourhost>:<yourport> :)
> > >
> > > On Mar 6, 2008, at 10:33 PM, Kevin Brown wrote:
> > >
> > > > That depends on apache configuration for the PHP version -- if you
> > > > don't
> > > > have root access to your machine it's not going to be able to run on
> > > > port
> > > > 80.
> > > >
> > > > On Thu, Mar 6, 2008 at 1:26 PM, Chris Chabot <[EMAIL PROTECTED]>
> > > > wrote:
> > > >
> > > >> See thats why i preferred the neutral host:port text instead, it
> > > >> works
> > > >> with the (default) java server but with the php version as well :)
> > > >>
> > > >> Once its in good enough shape, i'd even hope to get it included in
> > > >> the
> > > >> index.html etc, which all still assume the java server addr format
> > > >> too
> > > >>
> > > >>       -- Chris
> > > >>
> > > >> On Mar 6, 2008, at 9:03 PM, Kevin Brown wrote:
> > > >>
> > > >>> We should probably mention that if it's running on the same machine
> > > >>> as their
> > > >>> browser it'll be localhost:8080 by default (also 127.0.0.1, which is
> > > >>> useful
> > > >>> for verifying that rpc actually works across origins).
> > > >>>
> > > >>
> > > >>
> > > >
> > > >
> > > > --
> > > > ~Kevin
> > >
> > >
> >
> >
> > --
> > ~Kevin
> >

Reply via email to