rootbear
(Alex Xm)
1
Hi, Everybody
away from here for quite a while, so I am Yii dummy now.
I am moving a small site (Yii 1.1.10) to another VPS as-is.
seems everything working at first till i click on any controller … i got this page not found.
.htaccess setting etc. all seems good.
anybody could kindly give me a clue?
-rb
Keith
(Kburton)
2
Make sure mod_rewrite is enabled.
rootbear
(Alex Xm)
3
Thanks, Keith.
yes, i did enable rewrite, here:
apache2.conf:
IncludeOptional mods-enabled/*.load
/etc/apache2/mods-enabled/rewrite.load
rootbear
(Alex Xm)
4
figured it out.
in case anyone has the similar issue. beside Keith’s suggestion of checking if rewrite enabled in apache2.
here is what i have done:
-
re-install php5, apache2;
-
in config for the site, make sure: AllowOverride FileInfo Options instead of None;
-
clean up Yii assets folder;
-
re-start apache2, works!