suppress apache 500 error for “writable by others”

荒凉一梦 提交于 2019-12-11 08:03:40

问题


I know it sounds crazy, but I do have a reason for doing this. I would like someone else on the same file system to be able to make changes to files, and unfortunately I can not change the group we are involved in. Is there a way to suppress this error message? I have a feeling it can achieved using some directive in a .htaccess file, but that is simply a whim and I could be completely wrong.


回答1:


Of course it's not a solution for all cases, but your error is probably caused by suExec or suPHP... Maybe you could disable it or use something else ?




回答2:


you must CHMON the files that gives you this error to 664 or 775. Look into apache server error logs and check the files

Exemple: can be something like this:

[2010-01-05 04:35:51]: error: file is writable by others: (/home/mysite/public_html/index.php)

In this case give 755 to index.php or 644



来源:https://stackoverflow.com/questions/13130197/suppress-apache-500-error-for-writable-by-others

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!