I love playing with subdomains and multiple domains, The * as dns entry is ok (be carefull with dns entries order), you can do it in routes.py, but I see more apropiate on models or controllers If you don't success, contact me and sure I'll solve it
On Oct 5, 5:10 pm, Farsheed Ashouri <farsheed.asho...@gmail.com> wrote: > ya, I am trying to solve it. Let's see what'll come up with this night! :)) > Thank you Jonathan! > > On Wed, Oct 5, 2011 at 6:38 PM, Jonathan Lundell <jlund...@pobox.com> wrote: > > On Oct 5, 2011, at 8:03 AM, Farsheed Ashouri wrote: > > > Well it worked!! but with many problems in Ajax loading! Thank you, but any > > improvements?? > > > You might want to look at request.controller (and .function and .extension) > > to detect Ajax requests and do something else with them (depending on what > > the Ajax problems are). Otherwise all your Ajax requests coming from the > > subdomain will be sent to pages/blog, which is probably wrong. > > -- > Sincerely, > Farsheed Ashouri, > ourway.ir > Tel: +98 9388801504