Page 1 of 1

cgi-bin / perl

PostPosted: 07. February 2005 20:37
by pyro
Hi Guys

Thanks for your help so far but I have another problem as below:

I am using the following http://localhost/xampp/simon/ and all works fine but i want to run perl / cgi scripts, I am under the impresion that I dont need a shebang line as I am on windowz is this correct ?

Also where is the cgi-bin OR what one do I use ? do I create a cgi-bin folder in my web folder " simon " ?

Any help is most apreciated, expecialy if it is supplied in ideot mode as I am a newbie

Please help

Pyro

PostPosted: 07. February 2005 20:42
by Wiedmann
I am under the impresion that I dont need a shebang line as I am on windowz is this correct ?

No. Perl is Perl and Perl via CGI needs a shebang.

Also where is the cgi-bin OR what one do I use ?

"\xampp\perl\bin\perl.exe"

do I create a cgi-bin folder in my web folder " simon " ?

Or you can use the existing folder "\xampp\cgi-bin".

PostPosted: 07. February 2005 21:28
by jchapel
This may help

http://www.cgi101.com/book/connect/winxp.html

There is much to learn. Perl under CGI is a bear to deal with. Get a good background.