Method Not Allowed

Discussion in 'Troubleshooting' started by jjenkins, Jul 3, 2007.

  1. awylie

    awylie aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    41
    I'm trying to integrate a .PHP-based comments script into my aMember-protected site. The program works through a FORM on the page that posts a user's comments to a database table. The script then pulls that info from the table and posts it with all the other comments into the page using HTML.

    I use a SSI to include the PHP script into the .shtml pages. However, I get the following error when I enter a comment and push the 'submit button':

    The requested method POST is not allowed for the URL /members/tips/test.shtml

    I see that the .htaccess file in the directory /aMember/data has a .htaccess file which includes this code:

    <Limit GET POST>
    deny from all
    </Limit>

    Is this preventing me from posting to the page? If so, I'd certainly appreciate a work around. My client is very eager to include a comments section to each page. I've tried every method I can find on the Internet and none of them seem to be working.

    My ISP suggested including this code into a .htaccess file in the ROOT directory:

    <Directory "/mnt/webhosting/sites/m/mysite.com">
    Options IncludesNOEXEC
    DirectoryIndex index.html index.shtml </Directory>

    When I create the new .htaccess file as instructed I am unable to log into the site.

    HELP!

    Is anybody else using a comments script with their aMember protected pages? Suggestions are welcome.

Share This Page