FAQ - Shop and Apache

FAQ - Shop and Apache


If you server is running on Apache you can use the build in optimisation for Apache. This gives you the possibilities to have short URL and a slightly better search engine performance.

To use the build in Apache in DragDrop Shop you need to do two things, first open the db.php file and set following definition:

define('JAK_USE_APACHE', 1);

Then upload the .htaccess file provided in the download package or create your own with following content:

RewriteEngine ON

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]

ErrorDocument 404 /404/

order deny,allow
allow from none
deny from all

Upload both files into the correct location .htaccess needs to be in the root directory and enjoy the apache version of DragDrop Shop.