in reply to Running CGI script
Dear Monk,
Running CGI is more than just creating HTML. You (or you system administrator) have to configure the server it is running
on to deal with CGI and in the case of Perl/CGI you need to have handlers in place to deal with handing Perl off to an
interpreter.
If that is all equal and good you then need to ensure that the file permissions and ownership for the CGI script are set correctly depending on what environment you are running under. Windows, Unix and Linux play by different rules so you have to understand the environment you are running in.
My advice to you is to start on the Tutorials page and look especially under CGI Programming and really read those pages and understand them. It will pay off in the long run.
I'd also recommend you read and understand this page and some of the pages referenced in there and additionally this page and especially this page just to make your life here at the Monastery a lot easier.
When you ask question please give as much complete information about what you are experiencing as you can. Log files from servers (which Corion mentioned) are one of my personal favorite ways of finding out what has gone wrong. Using [code] tags for your code as the anonymous monk mentioned is also a must.
My intent is not to give you a hard time, but it is to help you understand how to properly get the most out of this community in terms of help and knowledge possible and hopefully in the future you can pay that forward by helping someone else out down the road.
|
|---|