Yii Framework Forum: Yii On Nginx In Sub Dir (At Any Level) - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii On Nginx In Sub Dir (At Any Level) Rate Topic: -----

#1 User is offline   Mayur Ahir 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 21
  • Joined: 08-July 11

Posted 12 September 2012 - 09:22 AM

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.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users