一个小失误能导致server 端500错误

手册/FAQ (392) 2015-11-26 13:43:07

虚拟主机上传.htaccess 后 出现 500 错误

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

 

具休的说是,凡是在某个目录上传.htaccess文件都会出现server 端500错误.

如果肯定其它设置没问题,比如 httpd.conf 中配置有误或者.htaccess.如果能排除这些错误.那么最有可能的一种情况就是.你上传的文件.htaccess 编码不是ANSI 格式. 可用记事本等编辑器转换编码为ANSI后再上传测试.

THE END