Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Nov 2003
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Error 405 when submitting a Form

    Every time I attempt to submit a form on my site, I keep getting an Error 405 Method not Allowed. I was told that it could have something to do with the .htaccess file, but I can't seem to figure out the correct command to put in there to make it work. Can someone help me please?
    Where ever I go, that's where ever I am, and nobody knows it but me.

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    This will explain the errors and solutions...

    http://www.checkupdown.com/status/E405.html

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

  • #3
    Regular Coder Feyd's Avatar
    Join Date
    May 2002
    Location
    Los Angeles, CA Maxim: Subvert Society
    Posts
    404
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I've heard of rare instances where this can happen with a firewall on the user's box, though I tend to not fully give that weight. If you do have an htaccess, try renaming it to a non-htaccess file and see if it works. It seems unlikely, but in theory there could be items in there that could cause a form submission to be denied...although, logically, if the htaccess contained information (such as denying an IP, for example) which prevented you from sending the form, then you shouldn't have even been able to see the form. It is also possible that your host has disabled the POST method...though this would be strange. If this is done through SSL, there are a few hosts who disable POST via SSL connections. Denying post methods is an option in the httpd.conf file. Additionally, it may not have anything to do with your form being POSTed, but actually a function you are using on the backend code that is meant to process the form that may have been blocked by the host.

    It may be an issue where you need to CHMOD the file processing the form to 755, or even/additionally the direct it is contained within. As it is, I am unsure of what environment you are working in and what server language you are using to run this form, so I can't really get too much more detailed...
    Moderator, Perl/CGI Forum
    shadowstorm.net - subvert society


  •  

    Posting Permissions

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