[CentralOH] (no subject)

jdsantiagojr at gmail.com jdsantiagojr at gmail.com
Thu Feb 7 00:10:47 CET 2013


I think I have. I am using <VirtualHost *port>. I tried using decorator like you mentioned, but it required me to provide a defuault domain like ‘www’. 



Sent from Windows Mail


From: Eric Floehr
Sent: ‎February‎ ‎5‎, ‎2013 ‎9‎:‎11‎ ‎PM
To: Mailing list for Central Ohio Python User Group (COhPy)
Subject: Re: [CentralOH] (no subject)



John,



Have you figured this out yet?  If not, are you using Virtual hosts in your web server or CherryPy's VirtualHost dispatch? In Flask, you can specify the subdomain in your @app.route decorator. Or am I not understanding your problem? If not, could you provide a little more detail on what you are trying to accomplish?




Cheers,

Eric







On Sat, Feb 2, 2013 at 3:23 PM, <jdsantiagojr at gmail.com> wrote:




Hello everyone, 

 

I have a question about deploying multiple applications under one apache instance using CherryPy and Flask. My domain is sniplogic.com and my subdomain is api.sniplogic.com. Both point to the same application folder and trying to figure out how to set up cherrypy to detect that, and route to correct path. 

 

Right now I am using Virtual host, which is working, but I feel like I there is a better way. Especially if I want to mount more applications. Any help would be greatly appreciated. 

 

Thank You, 

John Santiago

 

_______________________________________________
CentralOH mailing list
CentralOH at python.org
http://mail.python.org/mailman/listinfo/centraloh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/centraloh/attachments/20130206/f0e03370/attachment.html>


More information about the CentralOH mailing list