Hi - I'm testing amember before I buy. Unfortanly, I am unable to test the "new_rewrite" method. Doesn't seem to work on my server. I'm getting the following message: "RewriteRule doesn't work in .htaccess files on this server". My website is being hosted on a "shared" server. Therefore, I do not have access to the httpd.conf file. But, I was told by my hosting provider that "mod_rewrite" is enabled. After reading other posts (with similar problems), I tried linking to this test page: http://mysite.com/amember/data/tests/mod_rewrite/1.php But, this link returns a "Not Found" page In stead of linking to a http page, it is linking to this... /usr/home/mysite/www/htdocs/amember/data/tests/mod_rewrite/2.php Any idea why "new_rewrite" is not working on my server?? Thank you. - DC
Yes. There's a 2.php file located here: http://oldmastlandingclub.com/dmc/amember/data/tests/mod_rewrite/2.php When I click on it,it returns: 2-second_file
Nice. Now contact webhosting support and ask them why error happens. .htaccess file located in the same folder clearly instructs to dislpay contents of 2.php when you access 1.php
My hosting provider added the "RewriteBase directive" to the .htaccess file (see belove) and it worked. The .htaccess file now reads: --------------------------------------------------------------------- <Limit GET POST> allow from all </Limit> Options +FollowSymLinks RewriteEngine On RewriteBase /dmc/amember/data/tests/mod_rewrite RewriteRule 1\.php 2.php --------------------------------------------------------------------- Do I have to use the "RewriteBase" for RewriteRules to work on my server? Does this mean I have to edit your script at all? Thanks.
Please contact support with link to this topic - we will make neccessary modifications to aMember code in your installation.