Hello,
I am a newbie when it comes to scripting. Believe it or not I got introduced to perl because I wanted to run an Javascript example, but could not fully run the web file since it talked about cgi-bin script.
So I installed xampp for windows vista.
I went through the docs and examples and things were working fine, except when I ran the http://localhost/xampp/first.pl , I kept getting a 404 error.
I checked the httpd.conf to look on where I need to save the first.pl file, which shows (hello world).
I was saving the first.pl file in the c:\xampp\cgi-bin (where the folder also contains printenv.pl)
Well I eventually gave up and placed first.pl in the c:\xampp\htdocs\xampp and then ran the file via the web browser http://localhost/xampp/first.pl
The file worked and showed "hello world".
What I want to know is how I can get first.pl to run from c:\xampp\cgi-bin. I am sure scripts should be run from there. I feel it seems messy to place html and perl scripts in one place.
Thanks for reading.