127.0.0.1 is the address to which your Mongrels are by default bound to.
This allows access to them only from localhost, which is what we usually
want because we have a balancer on the same host (your Apache, for example).

Try and access an individual Mongrel instance by going to example.com:8000.
This is only possible if you specify that your Mongrels should be bound to
0.0.0.0.

On Dec 5, 2007 11:56 AM, Erwin <[EMAIL PROTECTED]> wrote:

>
> OK I found the problem...
>
> wrong cluster definition... I used the subdomain name in palce of the
> local 127.0.0.1
>
>  <Proxy balancer://myapp_cluster>
>    BalancerMember http://127.0.0.1:8000
>    BalancerMember http://127.0.0.1:8001
>    BalancerMember http://127.0.0.1:8002
>  </Proxy>
>
> if someone has an explanation of why I must use 127.0.0.1 instead of
> my domain.tld , I am ready to read it.. thanks
>
> On 5 déc, 09:45, Erwin <[EMAIL PROTECTED]> wrote:
> > I succeeded in deploying a standard rails app w cap2
> >  http://myapp.aelmat.net/ ->  ok
> >
> > now I introduced complexity w migrations, hopefully I got the tables
> > in my DB
> >  ** [out ::www.aelmat.net] == AddSessions: migrating
> > =====================================================
> >  ** [out ::www.aelmat.net] -- create_table(:sessions)
> >  ** [out ::www.aelmat.net] -> 0.0155s
> >  ** [out ::www.aelmat.net] -- add_index(:sessions, :session_id)
> >  ** [out ::www.aelmat.net] -> 0.0081s
> >  ** [out ::www.aelmat.net] -- add_index(:sessions, :updated_at)
> >  ** [out ::www.aelmat.net] -> 0.0088s
> >  ** [out ::www.aelmat.net] == AddSessions: migrated (0.0329s)
> > ============================================
> >  ** [out ::www.aelmat.net]
> >     command finished
> >
> > but when trying to reach again the url  http://myapp.aelmat.net/
> > I got a big splash
> >
> > Forbidden
> >
> > You don't have permission to access / on this server.
> >
> > Additionally, a 403 Forbidden error was encountered while trying to
> > use an ErrorDocument to handle the request.
> >
> > which means I have 2 errors :
> > 1-  access rights to / ???
> > 2-  access rights to display the standard 403 error html document
> >
> > 1?  is it the access to /var/rails/aelmat.net  or access to the
> > application /var/rails/aelmat.net/myapp ?
> >
> > thanks for your help
> >
> > erwin
> >
>

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to