Solved

Method not allowed

Posted on 2001-08-27
8
163 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
  • 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
 
LVL 6

Expert Comment

by:holli
ID: 6430585
what method do you use?
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In this tutorial I will aim to show you how simple is making a small application in WhizBase, how to add, remove and update data in the DB. I will make a small address book application where you can add, browse, update and remove addresses. I wi…
Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

863 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

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now