Results 1 to 3 of 3

Thread: httpencode failed: (missing __OK__ line): "405 Method Not Allowed" (POST not allowed)

  1. #1
    Join Date
    Apr 2008
    Posts
    23

    Default httpencode failed: (missing __OK__ line): "405 Method Not Allowed" (POST not allowed)

    Hi there,

    I'm trying to get formmail encoder working on a shared Apache/Linux host (fatcow is the host).

    The form works without the encryption; I ran into security issues trying to use the regular encode / popen() interface, so I'm trying the $SOCKET_FILTERS with httpencode to see if I can get it working.

    Here is my current error state:
    Code:
    The following error occurred in FormMail :
    filter_failed
     **********
    Error=Filter "httpencode" failed (missing __OK__ line): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <HTML><HEAD>
    <TITLE>405 Method Not Allowed</TITLE>
    </HEAD><BODY>
    <H1>Method Not Allowed</H1>
    The requested method POST is not allowed for the URL /cgi-bin/fmencoder.<P>
    </BODY></HTML>
    So, it looks like POST is being disallowed to /cgi-bin/fmencoder

    What is the next step? Do I need to contact the webhost and check with them? Is there a way to try and see if I can overcome the limitation with a directive in an .htaccess file?

    Surely POST can't be denied to anything in /cgi-bin/, otherwise what's the purpose of allowing execution of scripts in /cgi-bin ?

    Thanks for any help, and thanks again for making your great program available.

    Aaron in Albuquerque, NM

  2. #2
    Join Date
    Apr 2008
    Posts
    23

    Default Re: httpencode failed: (missing __OK__ line): "405 Method Not Allowed" (POST not allo

    I should note that I just called my web host and had a hard time explaining what my problem was; but also learned that I do have access to change my php.ini.

    So, I want to see if there are any additional steps I can take to clarify the problem / what I need so I can go back to the webhost with that information.

    Maybe since I can modify my php.ini it is possible that I can use the regular encode method?

  3. #3
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: httpencode failed: (missing __OK__ line): "405 Method Not Allowed" (POST not allo

    Hi,

    Yes, you should be able to reconfigure the php.ini file to allow the command execution to work.

    Are you getting an error message that points to the problem?

    Make sure you have safe_mode set to false.

    Apart from that, I'll need to see the error message to know what the problem is.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. "Internal Server Error": What'd I do wrong?
    By sgodun in forum FormMail Subscription Support
    Replies: 4
    Last Post: 16-May-2004, 12:01 AM
  2. Spiders and "The form has an internal error"
    By russellr in forum FormMail Subscription Support
    Replies: 0
    Last Post: 13-May-2004, 09:11 PM
  3. Email contains no "mesg"
    By xuric in forum FormMail Subscription Support
    Replies: 1
    Last Post: 19-Apr-2004, 08:17 PM
  4. William,Failed to send email.
    By shama07 in forum FormMail Subscription Support
    Replies: 1
    Last Post: 31-Jan-2004, 03:08 AM
  5. POST form data as well as email
    By zippy in forum FormMail Subscription Support
    Replies: 20
    Last Post: 24-Jan-2004, 04:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •