Web Hosting Talk







View Full Version : cgi-bin setup


amit290
05-12-2002, 12:22 PM
Hi,

Can some1 tell me how to setup cgi-bin's for each of my domains?
(or a site which tells u)

thx

Chicken
05-12-2002, 01:12 PM
This is just a... making sure you know thing... You can run scripts in any directory. In a folder you call cgi-bin or out.

amit290
05-13-2002, 04:20 AM
ok, but isnt there a way to create the folder automatically when I add new virtual sites? (with the correct chmods etc)

Chicken
05-13-2002, 11:27 PM
Well, in the skel directory, it copies the pages for the index page, etc. to the newly created site. It has been a while since I've used one and don't have access to one running, but the index page is located:

/etc/skel/group/en_US/web

-if you go there you'll see it and you should be able to add other things there that will be copied over when a new site is created (won't do anything to sites already created, only new ones).