Click to See Complete Forum and Search --> : Anyone oint me to somw good Apache/CGI tutorials?
b_usa
02-22-2003, 08:26 PM
I am looking for some good info on getting CGI's to run on my Apache server. I have had some trouble getting the .conf files right, and getting my CGI's to run correctly. I am not intersted at the moment in writing CGI's, only in getting them to run. Also, can I test them on my own machine? Thanks
P.S. Here is my site http://bryan.shacknet.nu
mdwatts
02-23-2003, 12:20 PM
You already know what I'll suggest. :)
Try searching G4L for 'apache tutorial' 'apache guide' 'cgi tutorial' 'cgi guide' etc. etc.
All the Apache documentation (html & text) that is installed with the app.
<edit>
'apache cgi tutorial' (http://www.google.com/linux?hl=en&lr=lang_en&ie=ISO-8859-1&q=apache+cgi+tutorial)
b_usa
02-24-2003, 04:58 AM
Searching is good and all, and it is always my first resort, but when I ask a question like I did, it's usually because I am looking for recommendations of resources that experienced people found valuable (hindsight is 20/20), plus I have very little time to spend on my box so I hate to waste it wading through tons of irrelevant material to find a few good documents. And for the record I have spent hours this weekend looking for the info I need to no avail. All I want to do is just get Apache to let me run my CGI's without a 405 error, all the documents I can find deal with writing CGI's, and there are very few beginner level CGI implementation type tutorials.
mdwatts
02-24-2003, 08:38 AM
You have to allow the keyword ExecCGI in your srm.conf or access.conf or at least put it in .htaccess in your directory. The webserver has it's own executable allow/disallow. You must also make sure it's set with chmod as an executable (+x).
Wouldn't searching for "CGI Apache" etc. have found guides/tutorials etc. or are you only looking for the answer to a specific question as we now know?