»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 01-17-2004, 11:12 PM   #1 (permalink)
Registered User
 
Join Date: Jun 2002
Location: Yuma Az
Posts: 56
Mr Gawler is on a distinguished road
Send a message via AIM to Mr Gawler
Apache CGI configuring

I'm trying to learn a little about apache. I'm running it on my iBook. I downloaded a survey script and followed the install instructions as best I could. When I run the script and click the submit button I get the following error:


Method Not Allowed
The requested method POST is not allowed for the URL /~myname/cgi-bin/survey/survey.cgi



I'm learning a bit. I think I need to edit a httpd.conf file to allow CGI scripts to be ran by apache.

(from apache docs -The source code of your CGI program or a "POST Method Not Allowed" message. That means that you have not properly configured Apache to process your CGI program. Reread the section on configuring Apache and try to find what you missed.)

(From configuring Apache -The ScriptAlias directive tells Apache that a particular directory is set aside for CGI programs. Apache will assume that every file in this directory is a CGI program, and will attempt to execute it, when that particular resource is requested by a client.

The ScriptAlias directive looks like:
ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/

The example shown is from your default httpd.conf configuration file, if you installed Apache in the default location. )

I've looked and read a bit, but I can't seem to find this file. Maybe it has not been created? The Find command locates four files with httpd in the file name but none are httpd.conf. Perhaps I need to create this file but I can't seem to figure out where I'd put it. Although there is a httpd.conf.pd file that looks like some sort of script.
I'm lost now. In reading it seems I should have this file. It should have been created when Apache was installed. I can't find it or a src directory mentioned in the docs for apache. Any suggestions..?
Am I making sense or am I way off track? If you can help I'd appreciate it. I hope this makes enough sence to help you help me. This is mostly a copy from an email to a friend (Pretorian ?? Spelling ??) who visits this site as well but I know he's pretty busy and can't be my personnel tech support every time so I'm asking you guys. Thanks

Mr Gawler is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 07:31 AM.