Hi Guys,
I am using Nginx with PHP-FPM and I tried all possible tuts available for running my Yii powered sites on Dev machine.
Scenario is I want to use any sub-dir (any level) i.e.
/var/www/yii_somename1 => Should use Yii and Pretty urls
/var/www/yii_somename2 => Should use Yii and Pretty urls
/var/www/native_php => Its own rewrite rules
/var/www/user1/yii_somename3 => Should use Yii and Pretty urls
/var/www/user1/rubyapp
/var/www/user2/client1/yii_somename4 => Should use Yii and Pretty urls
/var/www/user2/clinet1/djangoapp
as you can see I only need Yii rewrite rules when url has ‘yii_’ apart from that app(non-Yii) should be able to use its own rewrite rules.
Please help me with such config.