Why cgi-bin folder?

I've been with a free host who let me to run my own cgi scripts. The weird thing is I could place my cgi scripts anywhere under my home directory and have them work pretty well and never have any problem. I'm still using it to host a small site for my ex-classmates Why cgi-bin folder?

But right now what I can see is most hosts(including me) provide a cgi-bin folder under their customers' home directory, all the cgi scripts must placed under the particular folder. Which I think is quite troublesome sometime Why cgi-bin folder?

Anyway, any advantages for placing cgi scripts under the cgi-bin folder?

Is there a way to have cgi scripts work without placing them under the cgi-bin folder. Like php scripts you can place them anywhere. Why cgi-bin folder?

 

 

 

 

Top