DAP Installation for Non-WordPress, Plain HTML Web Sites
NOTE: If you are using WordPress, then click here for instructions on how to install DAP as a WordPress Plugin.
This documentation below is only for installing DAP on a Non-WordPress, plain HTML web site.
But you don’t need to be doing this!
Did you know you get free installation along with your purchase of DAP? Yes, even if you are only trying out the free trial and haven’t paid us a dime! 🙂
But for some reason, if you do not wish to take us up on the free offer, and wish to do it yourself, then here are the instructions.
We’ve tried to make DAP installation extremely simple. To do a full installation of DAP (non-WordPress version), it will take about 15-20 minutes.
Uploading the files
Download dap.zip from the members area:
Unzip to your desktop. You should see a folder named dap
Upload the entire dap folder on your computer, to the root of your web site. The root directory is where your web site’s home page is usually located. This directory also goes by the name “public_html” or “www” or “htdocs”.
Once this is done, the dap folder should now be accessible by typing in http://www.Example.com/dap/
– but wait – don’t visit that link yet.
Creating the Database
You will first need to create a database for DAP to use and store its data. So log in to your web host control panel, go to the “MySQL Databases” section, create a new database, then create a new user (with password), then finally make sure you “Add” the newly created database user to the newly created database (to give the user access to create, read, update and delete data from the database).
Note down the new database name, username and password.
Installing DAP
Visit http://YourSite.com/dap/install/
Fill out the form there with the above database details.
Put in “localhost” for the database host name (unless your host has specifically asked you to use something else).
Submit the form.
That should create the dap-config.php file within your dap folder.
And you’ll see a series of messages about how the installation went.
That’s it for the basic DAP installation. You just need to set up the cron jobs to complete installation.
Updating .htaccess File
Add the following text to the .htaccess file in your root directory. [NOTE: If you don’t already have one, then simply copy the .htaccess file from /dap/client/website/ to your root directory]
#Paste this at the very end of your .htaccess file
#in your web site’s root folder<IfModule mod_rewrite.c>
#dap
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !dapclient.php
RewriteCond %{REQUEST_URI} !^/dap/
RewriteCond %{REQUEST_FILENAME} !(.*)(\.php|\.css|\.js|\.jpg|\.gif|\.png|\.txt)$
RewriteRule (.*)Â Â /dap/client/website/dapclient.php?dapref=/$1&plug=wp&%{QUERY_STRING}Â [L] RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !dapclient.php
RewriteCond %{REQUEST_URI} !^/dap/
RewriteCond %{REQUEST_FILENAME} !(.*)(\.php|\.css|\.js|\.jpg|\.gif|\.png|\.txt)$
RewriteRule (.*)Â Â /dap/client/website/dapclient.php?dapref=/$1&plug=wp&%{QUERY_STRING}Â [L] </IfModule>
Setting Up the Cron Jobs
See this link to set up the cron jobs.
That’s it!
For support, open a ticket at http://www.DigitalAccessPass.com/support/