Deploying web2py-based service along with no-web2py main site

74 views
Skip to first unread message

Dmitry Vlasov

unread,
Oct 29, 2014, 7:10:44 PM10/29/14
to web...@googlegroups.com
Hi, web2py users,

anybody know, is there a way to deploy service, written with web2py in a such a way:

1) we have a site, xxx.com, for example. The site isn't web2py based. It is accessible from internet and shouldn't be touched.

2) the main aim is to access web2py service requesting 


In other words, how can I route requests to this subdomain to web2py service?

Main site uses Apache. Should I configure Apache, or I can use Rocket for these types of tasks?

I will be very appreciated for advices.

Niphlod

unread,
Oct 31, 2014, 12:08:24 PM10/31/14
to web...@googlegroups.com
configure web2py to be served within the server that handles subdomain.xxx.com

Dmitry Vlasov

unread,
Nov 7, 2014, 5:33:44 PM11/7/14
to web...@googlegroups.com
Thanks. But should I reconfigure Apache for this? How can I do it? One problem - site (and server) crashes when I start web2py's Rocket along with Apache...

пятница, 31 октября 2014 г., 19:08:24 UTC+3 пользователь Niphlod написал:

Niphlod

unread,
Nov 8, 2014, 7:16:03 AM11/8/14
to web...@googlegroups.com
you don't need rocket. you need two virtualserver directives, one handling the site at xxx.com and the other handling the web2py site at subdomain.xxx.com

Dmitry Vlasov

unread,
Nov 10, 2014, 10:44:03 AM11/10/14
to web...@googlegroups.com
Thanks, I will try.
суббота, 8 ноября 2014 г., 15:16:03 UTC+3 пользователь Niphlod написал:
Reply all
Reply to author
Forward
0 new messages