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.