Next, you must change the DefaultType directive in Apache to
cgi-script. To do this, create a .htaccess file in your document root, where the compiled members script is located. The .htaccess file should contain the two following lines:
Options +ExecCGI
AllowOverride All
To test this, open up your web browser, and go to the following URL:
http://www.domain.com/members/test/
If you receive an error from the script, saying
"User does not exist, test", then everything is working correctly. However, if you receive a server error, such as a 404 File Not Found, or 403 Forbidden error, you need to contact your web host, and ask them to change the AllowOverride directive to All in Apache for your document root. Once this has been done, everything should work fine.