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

Margo picture Margo · Feb 23, 2010 · Viewed 75k times · Source

Using cpanel on my hosting account, I created a subdomain - e.g. www.clothing.mysite.com

A cgi-bin folder was automatically created in the directory for clothing.mysite.com. Do I need it? I'm only using the subdomain to install wordpress on it. I don't really understand what the cgi-bin folder is for and I'm happy to leave it if it doesn't harm anything. Any thoughts?

Answer

David Pfeffer picture David Pfeffer · Feb 23, 2010

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.