scriptsit
February 12th, 2010, 02:15 AM
Salvete omnes,
I have an issue that few people are probably going to want to help me with. I'm trying to configure apache on my present system so that I can run perl cgi programs locally. I feel like my perl is developing well, but I've reached a plateau, and wish to go further by learning cgi programming.
The problem is, I can't seem to get any of the example programs to work. After a bit of research, it seems that I need to configure my apache to recognize cgi scripts. I've tried numerous places, but all of the explanations go over my head as I am still a novice linux user. I know how to compile a C program, mkdir, cd, ls, cat ... and then we're stretching my capabilities. I continue to learn every day, and have bought a few books which are helping me get there. I even bought an apache book, but it's not helping me much.
My question: can someone help me set up apache at least to the point where I can run cgi scripts? Assume that I have done nothing further than: sudo apt-get install apache2.
I don't even have a cgi-bin dir yet as I don't know where these belong, or how to do a script-alias.
If someone could help me with this favor I'd be most grateful.
I have an issue that few people are probably going to want to help me with. I'm trying to configure apache on my present system so that I can run perl cgi programs locally. I feel like my perl is developing well, but I've reached a plateau, and wish to go further by learning cgi programming.
The problem is, I can't seem to get any of the example programs to work. After a bit of research, it seems that I need to configure my apache to recognize cgi scripts. I've tried numerous places, but all of the explanations go over my head as I am still a novice linux user. I know how to compile a C program, mkdir, cd, ls, cat ... and then we're stretching my capabilities. I continue to learn every day, and have bought a few books which are helping me get there. I even bought an apache book, but it's not helping me much.
My question: can someone help me set up apache at least to the point where I can run cgi scripts? Assume that I have done nothing further than: sudo apt-get install apache2.
I don't even have a cgi-bin dir yet as I don't know where these belong, or how to do a script-alias.
If someone could help me with this favor I'd be most grateful.