// Configuration File - Admin
// ==========================
// webroot .HTACCESS file: missing
// permissions on zencart folder: drwxr-x---
// .HTACCESS file permissions: -rwxr-x---
// .HTACCESS contents: RewriteEngine On RewriteCond %{HTTPS} on RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI}
// permissions on zencart/includes folder: drwxr-xr-x
// .HTACCESS file permissions: -rw-r--r--
/*
zencart/includes/.HTACCESS file contents:
deny everything
<FilesMatch ".*">
Order Allow,Deny
Deny from all
</FilesMatch>
but now allow just certain necessary files:
<FilesMatch ".*.(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF)$">
Order Allow,Deny
Allow from all
</FilesMatch>
IndexIgnore /
*/
// permissions of the Admin folder: drwxr-xr-x
// permissions of the .HTACCESS file in the Admin folder: -rw-r--r--
/*
.HTACCESS file in the Admin folder contents (removed commented-out lines):
DirectoryIndex index.php
deny everything
<FilesMatch "...">
Order Allow,Deny
Deny from all
</FilesMatch>
but now allow just certain necessary files:
<FilesMatch "(^$|^favicon.ico$|.*.(php|js|css|jpg|gif|png)$)">
Order Allow,Deny
Allow from all
</FilesMatch>
IndexIgnore /
The following makes adjustments to the SSL protocol for Internet Explorer browsers
<IfModule mod_setenvif.c>
<IfDefine SSL>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfDefine>
</IfModule>
*/
// permissions on this file: -r--r--r--
// contents of this file:
define('HTTP_SERVER', 'http://threewishesfoundation.org');
define('HTTPS_SERVER', 'https://wish8888.securesites.com');
define('HTTP_CATALOG_SERVER', 'http://threewishesfoundation.org');
define('HTTPS_CATALOG_SERVER', 'https://wish8888.securesites.com');
define('ENABLE_SSL_CATALOG', 'false');
define('ENABLE_SSL_ADMIN', 'true');
define('DIR_WS_ADMIN', 'need correct path here');
define('DIR_WS_CATALOG', 'need correct path here');
define('DIR_WS_HTTPS_ADMIN', 'need correct path here');
define('DIR_WS_HTTPS_CATALOG', 'need correct path here');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
define('DIR_FS_ADMIN', '$webroot/NeedCorrectPathHere');
define('DIR_FS_CATALOG', '$webroot/NeedCorrectPathHere');
define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'zen_');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'RootUseridOfTheMySQLserver');
define('DB_SERVER_PASSWORD', 'RootPasswordOfTheMySQLserver');
define('DB_DATABASE', 'zencart');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'db');
define('SQL_CACHE_METHOD', 'none');
define('DIR_FS_SQL_CACHE', '$webroot/zencart/cache');
:blink: