Should I delete the cgi-bin folder in a subdomain I just created?

大城市里の小女人 提交于 2019-12-02 16:02:38

You can safely delete it. "cgi-bin" is hardly ever used these days.

cgi-bin historically was the only place where executable or script code (binaries, shell scripts, etc.) could be stored. It is mostly a historic relic since most hosts allow execution of scripts from anywhere.

You can safely delete "cgi-bin" folder, it's hardly ever used nowadays

Also beware that when your server got some malware scripts scans different folders and then hides on folders like cgi-bin because they rarely are checked now.

I even wrote a script before that "monitors" different folders in my server and alerts me if it found different scripts in there on my personal and clients servers too.

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