i*********n 发帖数: 5465 | 1 I am a beginner to everything. And here is a really stupid
question:
I am trying to learn CGI programming using Perl on linux. I
wrote my first script and threw it in my webpage. But no
matter what, I can't run it. There is always "Internal
Server Error". It's a very simple script(actually, only a
say-hello thing) and it runs well in command line. So,
what's wrong? It's really driving me crazy. Thanks a lot. | m****k 发帖数: 51 | 2 It must be problem in your CGI script.
You can post it here since it is simple, so people here can help you.
【在 i*********n 的大作中提到】 : I am a beginner to everything. And here is a really stupid : question: : I am trying to learn CGI programming using Perl on linux. I : wrote my first script and threw it in my webpage. But no : matter what, I can't run it. There is always "Internal : Server Error". It's a very simple script(actually, only a : say-hello thing) and it runs well in command line. So, : what's wrong? It's really driving me crazy. Thanks a lot.
| i*********n 发帖数: 5465 | 3 OK, here it is. If find anything wrong, please don't laugh
at me :))) | m****k 发帖数: 51 | 4 what's in cgi-lib.pl?
【在 i*********n 的大作中提到】 : OK, here it is. If find anything wrong, please don't laugh : at me :)))
| z****e 发帖数: 9 | 5 My friend,hope you look for your http log error info,so you
will find what the problem is.then debug your cgi program.
David Seecman
【在 i*********n 的大作中提到】 : I am a beginner to everything. And here is a really stupid : question: : I am trying to learn CGI programming using Perl on linux. I : wrote my first script and threw it in my webpage. But no : matter what, I can't run it. There is always "Internal : Server Error". It's a very simple script(actually, only a : say-hello thing) and it runs well in command line. So, : what's wrong? It's really driving me crazy. Thanks a lot.
|
|