查看apache_error.log显示
[Fri Jul 29 07:50:51 2016] [alert] [client ::1] /website/project1/.htaccess: Invalid command '\xef\xbb\xbfRewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
该项目在windows正常运行,放到mac为什么就不行,
原来是编码问题,改成utf-8保存一下就好了