Hi there people of WebmasterWorld,
I have successfully got a .cgi file to print "IT WORKS" from my test file after some reading & tweaking of the httpd.conf file for Apache, the only thing is, Apache I notice has it's own cgi-bin folder.
My own installation functions so does this matter that I am not in the cgi-bin folder & when I do try to use the cgi-bin folder via "localhost/cgi-bin/test.cgi" it always says cannot find file. But outside of this folder & in the www directory (Wamp installation) the file functions fine :)
I'm just wondering if this matter particularly, because *technically* the perl installation works fine, just not in the directory I expected.
I have this line uncommented in httpd.conf:-
ScriptAlias /cgi-bin/ "C:/wamp/bin/apache/Apache2.2.11/cgi-bin/"
and if I use the h t t p://localhost/cgi-bin/test.cgi it doesn't work
h t t p://localhost/cgi_test/test.cgi it does!
So far as I am concerned I have succeeded the install, and shall now try to write a few basic things, but I also wonder - can you use perl in the same way as you do asp/php, IE: file extension tells the server that you have got asp/php content and that invokes the asp/php parser so you can write html then break into php when you need to, or is this language a different beast, and you can't use it in the same way as asp/php. Because I would like to see if I can produce the same thing in perl as I can in php.
Thank you for any pointers,