{"id":8,"date":"2008-02-23T10:51:42","date_gmt":"2008-02-23T14:51:42","guid":{"rendered":"http:\/\/www.digitalaccesspass.com\/doc\/?p=8"},"modified":"2014-03-01T22:37:08","modified_gmt":"2014-03-02T06:37:08","slug":"dap-installation-non-wordpress","status":"publish","type":"post","link":"http:\/\/digitalaccesspass.com\/doc\/dap-installation-non-wordpress\/","title":{"rendered":"DAP Installation for Non-WordPress, Plain HTML Web Sites"},"content":{"rendered":"<p><strong>NOTE: If you are using WordPress, then <a href=\"http:\/\/www.digitalaccesspass.com\/doc\/dap-installation\/\">click here for instructions on how to install DAP as a WordPress Plugin<\/a>.<\/strong><\/p>\n<p>This documentation below is only for installing DAP on a <strong>Non-WordPress, plain HTML web site<\/strong>.<\/p>\n<p>But you don&#8217;t need to be doing this!<\/p>\n<p>Did you know you get <a href=\"http:\/\/www.digitalaccesspass.com\/doc\/free-installation\/\">free installation<\/a> along with your purchase of DAP? Yes, even if you are only trying out the free trial and haven&#8217;t paid us a dime! \ud83d\ude42<\/p>\n<p>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.<\/p>\n<p>We&#8217;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.<\/p>\n<h3><strong>Uploading the files<\/strong><\/h3>\n<p>Download <strong>dap.zip<\/strong> from the members area:<\/p>\n<p>Unzip to your desktop. You should see a folder named <strong>dap<\/strong><\/p>\n<p>Upload the entire <strong>dap<\/strong> folder on your computer, to the <strong>root<\/strong> of your web site. The root directory is where your web site&#8217;s home page is usually located. This directory also goes by the name &#8220;public_html&#8221; or &#8220;www&#8221; or &#8220;htdocs&#8221;.<\/p>\n<p>Once this is done, the dap folder should now be accessible by typing in <code>http:\/\/www.Example.com\/dap\/<\/code> &#8211; but wait &#8211; don&#8217;t visit that link yet.<\/p>\n<p>Creating the Database<\/p>\n<p>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 &#8220;MySQL Databases&#8221; section, create a new database, then create a new user (with password), then finally make sure you &#8220;Add&#8221; 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).<\/p>\n<p>Note down the new database name, username and password.<\/p>\n<h3>Installing DAP<\/h3>\n<p>Visit <strong>http:\/\/YourSite.com\/dap\/install\/<\/strong><\/p>\n<p>Fill out the form there with the above database details.<\/p>\n<p>Put in &#8220;localhost&#8221; for the database host name (unless your host has specifically asked you to use something else).<\/p>\n<p>Submit the form.<\/p>\n<p>That should create the <strong>dap-config.php<\/strong> file within your dap folder.<\/p>\n<p>And you&#8217;ll see a series of messages about how the installation went.<\/p>\n<p>That&#8217;s it for the basic DAP installation. You just need to set up the cron jobs to complete installation.<\/p>\n<h3>Updating .htaccess File<\/h3>\n<p>Add the following text to the <strong>.htaccess<\/strong> file in your root directory. [NOTE: If you don&#8217;t already have one, then simply copy the .htaccess file from <strong>\/dap\/client\/website\/<\/strong> to your root directory]\n<blockquote><p>#Paste this at the very end of your .htaccess file<br \/>\n#in your web site&#8217;s root folder<\/p>\n<p>&lt;IfModule mod_rewrite.c&gt;<br \/>\n#dap<br \/>\nRewriteEngine On<br \/>\nRewriteBase \/<br \/>\nRewriteCond %{REQUEST_FILENAME} -f<br \/>\nRewriteCond %{REQUEST_FILENAME} !-d<br \/>\nRewriteCond %{REQUEST_FILENAME} !dapclient.php<br \/>\nRewriteCond %{REQUEST_URI} !^\/dap\/<br \/>\nRewriteCond %{REQUEST_FILENAME} !(.*)(\\.php|\\.css|\\.js|\\.jpg|\\.gif|\\.png|\\.txt)$<br \/>\nRewriteRule (.*)\u00a0\u00a0 \/dap\/client\/website\/dapclient.php?dapref=\/$1&amp;plug=wp&amp;%{QUERY_STRING}\u00a0 [L]\nRewriteCond %{REQUEST_FILENAME} !-f<br \/>\nRewriteCond %{REQUEST_FILENAME} !-d<br \/>\nRewriteCond %{REQUEST_FILENAME} !dapclient.php<br \/>\nRewriteCond %{REQUEST_URI} !^\/dap\/<br \/>\nRewriteCond %{REQUEST_FILENAME} !(.*)(\\.php|\\.css|\\.js|\\.jpg|\\.gif|\\.png|\\.txt)$<br \/>\nRewriteRule (.*)\u00a0\u00a0 \/dap\/client\/website\/dapclient.php?dapref=\/$1&amp;plug=wp&amp;%{QUERY_STRING}\u00a0 [L]\n&lt;\/IfModule&gt;<\/p><\/blockquote>\n<h3>Setting Up the Cron Jobs<\/h3>\n<p>See <a href=\"http:\/\/www.digitalaccesspass.com\/doc\/setting-up-cron-jobs\/\" target=\"_blank\">this link<\/a> to set up the cron jobs.<\/p>\n<p>That&#8217;s it!<\/p>\n<p>For support, open a ticket at <a href=\"http:\/\/www.DigitalAccessPass.com\/support\/\">http:\/\/www.DigitalAccessPass.com\/support\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;t need to be doing this! Did you know you get free installation along with your purchase of [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[25,18,21],"tags":[],"_links":{"self":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/8"}],"collection":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":11,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/8\/revisions"}],"predecessor-version":[{"id":4384,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/8\/revisions\/4384"}],"wp:attachment":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/media?parent=8"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/categories?post=8"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/tags?post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}