Am not able to protect folders

Discussion in 'Setting-up protection' started by earn4mhome, Apr 7, 2008.

  1. earn4mhome

    earn4mhome New Member

    Joined:
    Mar 23, 2008
    Messages:
    20
    Hello everyone,

    In the Amember CP ->manage products->Protect folders,I have a problem.
    When i click on that and then click on protect another folder i get a "Browse"
    option to select the folder,but then when i click on browse a new pop up window opens which says the following error message.Please help:(

    "Not Acceptable
    An appropriate representation of the requested resource /membership/Signup/Details/admin/protect.php could not be found on this server."

    Thanks in advance:)
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Did you just set up Amember?

    1. Is the protect.php file on the server?
    2. Did you protect your /admin directory using amember? (check for a .htaccess file in the admin direcory and check CHMOD permissions)
    3. Re-upload (ensuring in binary mode)
    4. Is this the only file having problems?
  3. earn4mhome

    earn4mhome New Member

    Joined:
    Mar 23, 2008
    Messages:
    20
    1)yes the protect.php is on the Server it has 755 status
    2)No i am not able to protect any folder when i click on browse to protect a folder i get that error and .htaccess file is not inside admin folder but outside it
    3)I guess that will remove all member details
    4)yeah only file
  4. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    1. You can try just reuploading the protect.php file (in binary)
    2. Setting its CHMOD to 777 for testing
  5. earn4mhome

    earn4mhome New Member

    Joined:
    Mar 23, 2008
    Messages:
    20
    Skippy it Did not work

    Hey I had a website backup and used that protect.php file and reuploaded it and CHMOD 777 did not work same error Skippybosco.If you have a protect.php file of yours please send it to me :( by PM
  6. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    What version of Amember are you using? Free or Pro?

    Either way, I would recommend downloading the files from your member section here on Amember to extract the file from or opening a support ticket with Alex..
  7. earn4mhome

    earn4mhome New Member

    Joined:
    Mar 23, 2008
    Messages:
    20
    Hello

    Skippybosco i am using pro and uploaded a new protect.php from insatllation files.Still same error message.I did chmod 777 for the file.
  8. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Ok a quick search turned up this:

    There is a very good chance your host has installed a add-on for apache called mod_security.

    While mod_security can be a very powerful tool, misconfigured or overly strict rule sets can interfere with Amember Operation. Below for Apache users you can use an htaccess file and add a specific rule to disable mod_security.

    Make or edit your site .htaccess file and add the following code:

    Code:
    <IfModule mod_security.c>
       SecFilterEngine Off
       SecFilterScanPOST Off
    </IfModule>
  9. earn4mhome

    earn4mhome New Member

    Joined:
    Mar 23, 2008
    Messages:
    20
    Oye You Are A Genius!!

    Oye Skippy bosco as always you rock it worked!!Thanks einstein!, earn4mhome.com Salutes to you,earn4mhome.com
  10. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Glad to hear it helped. At some point you may want to consider working with your host to par down their rules a bit as opposed to just disabling the feature completely.

Share This Page