How can i prevent cgi-bin of being automatically created?

A cgi-bin folder was automatically created in the directory for my site. I don't use that folder at all because I don't need it. I don't know how to permamently delete it.

How can I achieve that? It creates itself every now and then.

Answers


If using cPanel, edit /etc/bashrc and comment out these lines:

if [ ! -e ~/public_html/cgi-bin ]; then
mkdir -p ~/public_html/cgi-bin
fi

You may need your administrator or web host to do this if you don't have access.


Need Your Help

How to resize a bitmap image in C# without blending or filtering?

c# bitmap resize interpolation smoothing

I have a gray scale image that I would like to enlarge so that I can better see the individual pixels. I've tried setting Smoothing mode to none and some different Interpolation Modes (as suggested...

Make lines blink inside a canvas

javascript canvas lines kineticjs blink

I'm currently working on a HTML5 and Javascript project using Kinetic Js and canvas.