Page 1 of 1

Re: Admin panel not working!

Posted: Sat Aug 06, 2016 7:34 am
by IP_CAM
Note: This post has been moved from it's Topic to this off-topic Section by a former Forum Moderator. 8)
---
there is no .htaccess needed to be re-configured yet, as long as the config.php files look like this: :D

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://www.pokeshop.fi/admin/');
define('HTTP_CATALOG', 'http://www.pokeshop.fi/');

// DIR
define('DIR_APPLICATION', '/home2/grafices/public_html/pokeshop/catalog/');
define('DIR_SYSTEM', '/home2/grafices/public_html/pokeshop/system/');
because, in regularly configured Systems, the PUBLIC_HTML Directory already is the SITE URL
ROOT Directory, therefore, the HTTP URL would have to be like this:

// HTTP (for the Admin config File!!)

Code: Select all

define('HTTP_SERVER', 'http://www.pokeshop.fi/pokeshop/admin/');
define('HTTP_CATALOG', 'http://www.pokeshop.fi/pokeshop/');

// HTTP (for the ROOT config File!!)
define('HTTP_SERVER', 'http://www.pokeshop.fi/pokeshop/');

// HTTPS (for the ROOT config File!!)
define('HTTPS_SERVER', 'http://www.pokeshop.fi/pokeshop/');
---
But, by nature of things, the .htaccess file would then also look like this:

Code: Select all

# SEO URL Settings
RewriteEngine On

RewriteBase /pokeshop/
# RewriteRule ^download/(.*) /index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
...
...
...
Ernie