hostgator site can't do new_rewrite

Discussion in 'Setting-up protection' started by johnburch2004, May 2, 2008.

  1. johnburch2004

    johnburch2004 New Member

    Joined:
    Oct 13, 2005
    Messages:
    5
    Hi,
    amember works ( makes new_rewrite available) in a hostgator top domain but does NOT in a lower domain.

    It says "RewriteRule doesn't work in .htaccess files on this server)"
    Also:
    NOT AVAILABLE: php_include+mod_rewrite (PHP must be compiled-in as Apache module to use this method) (this one also is not working on top domain)
    NOT AVAILABLR: php_include+auto_prepend_file (php_value auto_prepend_file directive doesn't work in .htaccess files on this server)

    I edited .htaccess file in domain top folder and in the protected folder. Added:
    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>
    #Options +FollowSymLinks
    # mod_rewrite in use
    RewriteEngine On

    I used information and a script from this forum to copy and add things to the php.ini file and symlink copy it to all directories on the site.
    Added:
    "register_globals = Off";
    "session.use_trans_sid = 0";
    "enable_dl = On";

    But nothing changed. The host tech thinks it should be working since they do not try to disable RewriteRule on the site.

    What can I look at to find out why amember thinks ReworkRule does not work?

    Thanks,
    John Burch
  2. tchamberlain

    tchamberlain New Member

    Joined:
    Sep 18, 2006
    Messages:
    7
    I want to bump this, my new_rewrite is now grayed out, so I can't add it to new products but my old products that used it still works. I am on hostgator to.
  3. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    It works on hostgator- Its a false positive.

    You need to send a tech support to amember, they need to edit something in amember on your site so it works.

    David
  4. autograff

    autograff New Member

    Joined:
    Aug 28, 2008
    Messages:
    2
    New_rewrite

    It could be that in the apache setup mod_rewrite is integrated in apache, but not as a separate module. If amember is looking for a separate module, it won't find it, even though the function is available. This is the case on our own server.

    I'll contact tech support.
  5. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Would be interested to get a report back from tech support (or Amember) on how they resolve the issue so that others can solve it themselves.
  6. samwit

    samwit New Member

    Joined:
    May 6, 2008
    Messages:
    2
    I am also on hostgator so interested to hear about this issue
  7. kbbrux

    kbbrux New Member

    Joined:
    Aug 26, 2008
    Messages:
    2
    mod_rewrite

    Same here I would be interested in what a suitable fix is instead of using htpasswd
  8. samwit

    samwit New Member

    Joined:
    May 6, 2008
    Messages:
    2
    try changing the folder data and the folders inside it to 755 permission.

    this may help
  9. w00w00

    w00w00 New Member

    Joined:
    Sep 24, 2007
    Messages:
    7
    I tried changing the permissions to 755 for the data folder and files located in amember as samwit suggested and it now lets me choose new_rewrite as an option (which is what I wanted).
  10. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Nice! We should make this a sticky post!

Share This Page