Hello, I am totally new to this, I apologize if I sound to basic. I got the Demo and was trying to figure it out. I really don't know how to redirect a protected page to the sign up page so the users can sign up for the subscription and start using it (I want to use only 1 subscription plan). I am trying to do a website with some online quizzes where users have to pay to use them. I have the quizzes in one folder which I protected it in Admin / Protected Folders /with new-rewrite method. I cannot really understand the difference between those methods (htpasswd, new-rewrite, etc). Now when I click on the link to get to the quizzes it shows this: "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, you@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log." Instead of showing this, what do I need to do to redirect visitors to the Register page? And if they register are they gonna be able to see the quizz page or do I need to implement something for that matter as well? Pls help me out, any information is welcome. Thank you in advance! Alex
Alex try to edit .htaccess file within protected folder and remove this line from it: Options +FollowSymLinks let me know result.
How can I edit it? I can only see it when for example I go in Dreamweaver and try to open it. But it won't let me select and open it. there are 2 files there which i cannot select: .htacces and .DS_store. Can you please tell me how and what to open and edit it with? Thanks for your help! Alex
You can open the file with any simple text editor, even Windows Notepad will do the job. Anyway, to get the file you can also use FTP: download the file, edit the file, upload the file.
Well i work on localhost, Im just trying to learn now how to do all these things before I go online. The problem is I don't know how to make the file visible so I can open it with an editor. I have a Mac not PC. i tried to open it with Word but I cannot see it, is hidden.
Ok I found how. I edited .htacces and i removed "Options +FollowSymLinks". And nothing happened it still does the same thing, doesn t redirect me to the sign up page. The file looks like that: ########### AMEMBER START ##################### RewriteEngine On ## allow access for product #1 RewriteCond %{HTTP_COOKIE} amember_nr=([a-zA-Z0-9]+) RewriteCond /Applications/MAMP/htdocs/amember 2/data/new_rewrite/%1-1 -f RewriteRule ^(.*)$ - [L] ## if user is not authorized, redirect to login page # BrowserMatch "MSIE" force-no-vary RewriteCond %{QUERY_STRING} (.+) RewriteRule ^(.*)$ http://localhost/amember%202/plugins/protect/new_rewrite/login.php?v=-1&url=%{REQUEST_URI}?%{QUERY_STRING} [L,R] RewriteRule ^(.*)$ http://localhost/amember%202/plugins/protect/new_rewrite/login.php?v=-1&url=%{REQUEST_URI} [L,R] ########### AMEMBER FINISH ####################
Yes. Well I figured out that I need to put the aMember folder inside my Site Folder Then I didn t even have to edit the .htacces page no more. It simply redirected me to the sign up page. Well life's tough when you don;t know much about programing and web developement..but I'm willing to learn slowly .