problem using new_rewrite

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

  1. moveright

    moveright New Member

    Joined:
    Apr 7, 2008
    Messages:
    3
    I spent an hour looking through this forum for the solution but I only found 2 threads that got solved and they were "solved through help desk".

    I just installed amember and want to use new_rewrite protection. I get the error "(#Unable to fetch result of test from http://www.deafcareer.com/amember/data/tests/mod_rewrite/1.php"

    I tried to enter that address and go to it and it says "2 second file"

    I called my hosting(godaddy) and they said there was no issue on their end.

    what on earth can I do? :confused:
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Sounds like rewrite is not working?

    1. Are you running windows or linux as your server?
    2. Are you running PHP v4 or PHP v5?
    3. Check your .htaccess file (post it here?) in the root of your server and see if there are any issues there.
  3. micreation

    micreation New Member

    Joined:
    Apr 17, 2008
    Messages:
    1
    Hello moveright,

    I'm having that same issue with new_rewrite. Were you able to get it working? I have godaddy also....any help would be greatly appreciated.
  4. robertbruce

    robertbruce New Member

    Joined:
    Apr 4, 2008
    Messages:
    15
    I also have a new_write error and in the hope I can solve the issue, here is what my .htaccess file contains. I am in test so the sites are in my localhost. Using xammp.


    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
  5. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
  6. robertbruce

    robertbruce New Member

    Joined:
    Apr 4, 2008
    Messages:
    15
    Skippy,

    I get this:

    Server error!
    The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

    If you think this is a server error, please contact the webmaster.

    Error 500
    localhost
    05/02/08 21:43:06
    Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5


    I am still in test on localhost.
  7. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
  8. robertbruce

    robertbruce New Member

    Joined:
    Apr 4, 2008
    Messages:
    15
    Skippy,

    Thanks for the response. I followed the link. Found the instructions:

    Enable mod_rewriteFind the httpd.conf file (usually you will find it in a folder called conf, config or something along those lines)
    Inside the httpd.conf file uncomment the line LoadModule rewrite_module modules/mod_rewrite.so (remove the pound '#' sign from in front of the line)
    Also find the line ClearModuleList is uncommented then find and make sure that the line AddModule mod_rewrite.c is not commented out.

    But cannot locate ClearModuleList or AddModule mod_rewrite.c in the file to ensure Clear is not commented and AddModule is.

    Ran the test they specifiy http://localhost/rewrite-testfolder/ just to see what would happen. Got the 404 error.
  9. rfranta

    rfranta Member

    Joined:
    Apr 24, 2008
    Messages:
    41
    Has anyone found a correction to this Yet I am having the same problem.

    Thanks
  10. song

    song New Member

    Joined:
    Feb 29, 2008
    Messages:
    1
    Same problem.

    Have spent hours trying to fix it together with my webmaster.

    I have moments when I regret spending the money on amember.

    Any news on this problem?

    Thanks

    Update:

    aMember support fixed the problem.

    Here is the e-mail explaining what they did:

    "Your server doesn't allow open files from folder with permissions 755 or 777.
    So i remove some check for mod_rewrite in <amember>/admin/protection_methods.inc.php"

    Hope this is helpful to some.
  11. booforum

    booforum Member

    Joined:
    May 20, 2005
    Messages:
    186
    So how is this problem resolved then?
    Are we just supposed to have Alex fix the file for each and every one of us?
  12. webguy22

    webguy22 aMember Pro Customer

    Joined:
    Apr 7, 2008
    Messages:
    18
    I'm having the same issue. So what exactly was changed in function protection_check_mod_rewrite() ???

Share This Page