I'm trying to run a Yii application placed in a subfolder of the root:
-> public_html
----> yii_app
--------> index.php
--------> .htaccess
--------> protected
etc..
The application runs fine with url: http://www.site.com/yii_app However, deeper controllers and actions redirect me to http://www.site.com For example: http://www.site.com/yii_app/controller1/action1 will show the home page of the site.
I tried to put in the root .htaccess file rules that ignore the folder yii_app but didn't solve the problem.
RewriteEngine on
RewriteCond %{REQUEST_URI} "/yii_app/"
RewriteRule (.*) $1 [L]
Any suggestions?
Would really appreciate your help.
Thanks.