Unable to get new_rewrite to work

Discussion in 'Setting-up protection' started by howard, Apr 19, 2007.

  1. howard

    howard New Member

    Joined:
    Jan 20, 2007
    Messages:
    3
    Hi there,

    I created a folder for protection (for members area webpages) here
    http://www.MYSITE.com/amember/members

    I went to protect the folder through the browse function but it came back with this message:

    new_rewrite (#Unable to fetch result of test from http://www.MYSITE.com/amember/data/tests/mod_rewrite/1.php. Read FAQ item regarding this issue)

    BTW the FAQ lead to your CGI-central home page.

    I then tried changing the CHMOD to various settings but that just got the same results. Any ideas?

    Howard
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Answered in the helpdesk.
  3. howard

    howard New Member

    Joined:
    Jan 20, 2007
    Messages:
    3
    Thanks

    Alex,

    Thanks again for the wonderful customer service!

    Howard
  4. steward

    steward New Member

    Joined:
    Sep 9, 2008
    Messages:
    2
    A link would be much more helpful. please.
  5. mjmtaiwan

    mjmtaiwan aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    45
    how bout an answer for the rest of us?
  6. xadventurousx

    xadventurousx New Member

    Joined:
    Aug 3, 2007
    Messages:
    3
    It a non available option when I want to choose it on my server. I'm getting " (RewriteRule doesn't work in .htaccess files on this server)" I called tech support and they said that I could turn on mod rewrite through the .htaccess file. I would have assumed that Amember was already doing this.

    What do I need to do here to fix this? And please don't tell me it's answered in the help desk, becuase I checked and it's NOT. Not specific steps that I could find anywhere.

    I'd like to buy and use this script is I can get it to work.
  7. mcitron

    mcitron New Member

    Joined:
    Jun 10, 2009
    Messages:
    12
    Yeah, why is the answer a secret...? I have had nothing but problems trying to set this up
  8. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    @mcitron: what issue are you having? Not having rewrite as an available option or not being able to protect a folder underneath the aMember folder of the rewrite option not showing as available.

    1) In my experience it has been a bad idea to protect folders underneath the aMember directory.

    2) Rewrite can be enabled a couple of different ways:

    a) in your .htaccess file for the root of your domain adding "AllowOverrides All" (if you have "AllowOverrides None" currently you should change it to All)

    b) Commenting out a couple of lines in the check as documented here:

    https://www.amember.com/forum/showthread.php?t=8488

Share This Page