4.3 Change the DefaultType

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
DefaultType cgi-script

If your server is running Apache v2+, you will create a .htaccess file with the following lines instead:
<Files "members">
    Options +ExecCGI
    SetHandler cgi-script
</Files>

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 "Unable to display self replicating web site, as no member types have been created yet.", 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.