Re: [web2py] How to setup multiple application using multiple domains on webfaction?

2011-03-13 Thread rochacbruno
I do this using autoroutes I will post my autoroutes.py when I go to the 
computer. 

Enviado via iPhone

Em 13/03/2011, às 16:20, Tito Garrido titogarr...@gmail.com escreveu:

 Hi Folks!
 
 I have two applications on my webfaction domain. One is init and another 
 one is blog I'd like to point a different domain to blog... would you know 
 how to do that?
 
 Regards,
 
 Tito
 
 -- 
 
 Linux User #387870
 .
  _/_õ|__|
 ..º[ .-.___.-._| . . . .
 .__( o)__( o).:___


Re: [web2py] How to setup multiple application using multiple domains on webfaction?

2011-03-13 Thread Tito Garrido
Thanks Bruno! Let me know when you get this piece of code!

Regards,

Tito

On Sun, Mar 13, 2011 at 5:27 PM, rochacbruno rochacbr...@gmail.com wrote:

 I do this using autoroutes I will post my autoroutes.py when I go to the
 computer.

 Enviado via iPhone

 Em 13/03/2011, às 16:20, Tito Garrido titogarr...@gmail.com escreveu:

  Hi Folks!
 
  I have two applications on my webfaction domain. One is init and
 another one is blog I'd like to point a different domain to blog... would
 you know how to do that?
 
  Regards,
 
  Tito
 
  --
 
  Linux User #387870
  .
   _/_õ|__|
  ..º[ .-.___.-._| . . . .
  .__( o)__( o).:___




-- 

Linux User #387870
.
 _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:___


Re: [web2py] How to setup multiple application using multiple domains on webfaction?

2011-03-13 Thread Bruno Rocha
Here it is

you need two files in the root web2py folder

this
http://snipt.net/rochacbruno/routesconf/
and this
http://snipt.net/rochacbruno/routespy/

in routes.conf you can simply do:

blog.domain.com /blog/default
domain.com /init/default

It is working for me in 2 websites on webfaction

--
Bruno Rocha
[ About me: http://zerp.ly/rochacbruno ]



2011/3/13 Tito Garrido titogarr...@gmail.com

 Hi Folks!

 I have two applications on my webfaction domain. One is init and another
 one is blog I'd like to point a different domain to blog... would you know
 how to do that?

 Regards,

 Tito

 --

 Linux User #387870
 .
  _/_õ|__|
 ..º[ .-.___.-._| . . . .
 .__( o)__( o).:___