Archive for November, 2008

Our shiny new iMac

Just got our new iMac

08112008157.jpg


Starting work on the iPhone and Android platform

We are very excited to be starting work on iPhone and Android projects starting next week.

Though our team has experience with mobile technologies and location based services, we last worked on them in 2002/2003 for the Japanese, US and the Indian market. Things have changed since then.

Location based services were still in their infancy then, and now they are all the rage. Its exciting to get back to the small devices and the challanges they present.

We’ll have fun!!


tip: Single symfony project serving multiple domains via separate apps

Problem: You have a symfony project with 2 applications ‘customers’ and ‘resellers’. You want www.myretail.com to use ‘customer’ application and www.myresellers.com to use ‘resellers’ application.

here customers app is your default ‘frontend’ app with index.php and resellers app has say ‘reseller.php’ and ‘reseller_dev.php’ controller files.

Solution:
Separate the web folder for each domain you want handle.

so customers content is in /project/web folder and resellers content is in /project/web-reseller/ folder. Move your reseller.php to web-reseller folder and rename it to index.php

You will need to create two virtual host for each domain with document root pointing to their respective folders.

Another solution is to have different .htaccess files. In case you do not want to create separate web folder you can create another .htaccess_reseller file in the web/ folder and redirect all request to reseller.php instead of index.php

1 Comment more...

  • TechJini Solutions

  • © Copyright 2009 TechJini Solutions Private Limited. All Rights Reserved
    iDream theme by Templates Next | Powered by WordPress