I am learning perl using Ellie Quigly's book 'Perl by Example'. For the most part it has been very very helpful.
However I am stumped on how to get my perl script to work with cgi.(refering the example3.16 in the manual).
I have posted this on the Apache forum and got some response, but not to the extend that I got it resolved.
I am aslo doing this on linux (learning that too).
My basic question is;
How do it get a perl script to work with linux/cgi/apache?
The browser is Mozilla
I am not even sure what the proper suffix should be or where it should reside. Currently the path is:
/home/mover50/public_html/example.cgi
mover50 is my logon id on linux.
When I run it on my browser as:
I get a not found on this server.
If i drop the .cgi I get a display of the source code or perl script.
I have set up my Apache httpd.conf as best I know how. Have tried to read through the man apache and also have checked out all I can in Quigly's book on cgi along with doing some goodle searches. Nothing so far gets me over that first hurdle, and that being, making a perl/cgi connection.
Please help, I have been dealing with this for about 4 days now and daylight is burning.
I know that it is probably something basic that I should have found and should already know, but, I can't find it.
Thanks,
Kent
However I am stumped on how to get my perl script to work with cgi.(refering the example3.16 in the manual).
I have posted this on the Apache forum and got some response, but not to the extend that I got it resolved.
I am aslo doing this on linux (learning that too).
My basic question is;
How do it get a perl script to work with linux/cgi/apache?
The browser is Mozilla
I am not even sure what the proper suffix should be or where it should reside. Currently the path is:
/home/mover50/public_html/example.cgi
mover50 is my logon id on linux.
When I run it on my browser as:
I get a not found on this server.
If i drop the .cgi I get a display of the source code or perl script.
I have set up my Apache httpd.conf as best I know how. Have tried to read through the man apache and also have checked out all I can in Quigly's book on cgi along with doing some goodle searches. Nothing so far gets me over that first hurdle, and that being, making a perl/cgi connection.
Please help, I have been dealing with this for about 4 days now and daylight is burning.
I know that it is probably something basic that I should have found and should already know, but, I can't find it.
Thanks,
Kent