PDA

View Full Version : Cgi?


KashKurcura
12-09-03, 11:42 PM
How can I tell if my server has CGI or not? I know that it has ASP but I dont like ASP. I uploaded a .cgi script and it just shows me the source, does that mean I do not have CGI?

Millennium
12-10-03, 12:59 AM
How can I tell if my server has CGI or not? I know that it has ASP but I dont like ASP. I uploaded a .cgi script and it just shows me the source, does that mean I do not have CGI?

If you have a cgi-bin folder on your server then you will have the ability to run .cgi and .pl scripts (which are really the same thing).

If there is no cgi-bin you can not just create one and expect it to work, it is a special folder that is configured in the http server that allows scripts to be run.

Most hosting services list what types of scripts you can run somewhere on their website or you can email them and ask.