Solved

Method not allowed

Posted on 2001-08-27
8
171 Views
Last Modified: 2013-12-25
ok, I need to work a small cgi script and I have a problem with the script.  When executed I get the "Method Not allowed".  Anything in particular I should check for? I have checked permissions, and script locations and I know I am missing something simple.

Kejtar
0
Comment
Question by:Kejtar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 6

Expert Comment

by:holli
ID: 6429546
listening...
0
 
LVL 6

Expert Comment

by:holli
ID: 6429559
there are the following methods:

GET
POST
PUT
HEAD
DELETE

most webservers are configured that put and delete are not allowed.

my guess: you use put or delete OR you just have mispelled the method in your html-form. so check the html.

holli
0
 
LVL 1

Author Comment

by:Kejtar
ID: 6429885
hmm.....  I dont think that I have it dissallowed: it's a rather fresh install of rh7 and apache on my laptop.  I will check for the spelling and try put also.... any other thoughts?

Kejtar
0
More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

 
LVL 6

Expert Comment

by:holli
ID: 6430585
what method do you use?
0
 
LVL 1

Author Comment

by:Kejtar
ID: 6432127
I had post.  When I tried put, it display the source code within the browser window.
Kejtar
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6433526
listening ..
0
 
LVL 6

Accepted Solution

by:
holli earned 200 total points
ID: 6433561
would you post the html and the scripts code. otherwise i can't help anymore.

ahoffman: nice you join us :-)
0
 
LVL 1

Author Comment

by:Kejtar
ID: 6441924
well.... I was just pointing to the wrong directory.....
Thanks
Kejtar
0

Featured Post

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question