您的位置:首页 > 其它

[问题记录]Mac下.htaccess文件引起500错误

2016-07-29 08:12 344 查看
查看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保存一下就好了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: