PHP implementation yii project forward, which has several methods?

  1.  header ( "LOCATION: index.php");  if the code behind the header, will perform, if you do not perform, then add exit; or die (); and so on, should be applied to yii project forward, jump to access a page yii project, have not tried, have time to verify.
  2. proxy_pass to achieve yii project forward, only you need to configure proxy_pass access to the file index.php entrance to yii project.

Guess you like

Origin www.cnblogs.com/bneglect/p/11814283.html