title: Yiiframework can't load js & css resource
body: <p>I have my Yii application worked well on Windows Server.
  But when I deploy it on Centos server, the js and css files cannot be loaded.
  I got 404 error, CHttpException.</p>
  
  <pre><code>Source code to load resource:
       Yii::app()-&gt;clientScript-&gt;registerCssFile(Yii::app()-&gt;theme-&gt;baseUrl.'/css/custom.css');
       Yii::app()-&gt;clientScript-&gt;registerScriptFile(Yii::app()-&gt;theme-&gt;baseUrl.'/js/jquery-1.7.1.min.js');
  </code></pre>
  
  <p>In addition, I have 4 Yii web applications deploy on the same server. And the other ones work well.
  Does anyone know the reason why? Can it be a security error on Centos that does not publish themes folder?</p>
  
  <p>Please help me on this.</p>
  
  <p>TIA,</p>