6

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/

Click Here to Leave a Comment Below 6 comments
jeanjacques - February 19, 2010

if you want to know your “path to php” connect to your server using ssh and type this command

which php

Reply
Tim - January 15, 2011

Is your system compatible with Joomla?

Reply
Veena Prashanth - January 16, 2011

Tim,
Not yet, but will hopefully be in the next 4 months.

Reply
mark - February 8, 2012

Can we install DAP to protect a standalone Html site and then subsequently upgrade to WordPress? Is that literally just a case of installing the DAP plugin after we have installed WordPress or is there more to it than that?

Reply
Veena Prashanth - February 9, 2012

>> Can we install DAP to protect a standalone Html site and then subsequently upgrade to WordPress? < < Yes. >>Is that literally just a case of installing the DAP plugin after we have installed WordPress or is there more to it than that? << Correct. The dap folder goes to the root of the domain/site and after you install WP, you need to upload dap live links plugin to /wp-content/uploads folder and activate it in WP to protect WP content.

Reply
Mark - The Word Bay Guy - February 10, 2012

Thanks – this possibility was really useful for me since I wanted to really quickly deploy a static HTML site with a simple sales page, thank you page etc. and then gradually work on the full WordPress site “behind the scenes”. If you end all your static files with .html then WordPress will effectively remain invisible to the visitor (of course you use maintenance mode too) until you are ready to launch. Very useful.

Reply

Leave a Reply: