Joomla in a subdirectory - whilst traversing root index.php - Joomla! Forum - community, help and support
i'd ask joomla 2.5 installed in subdirectory (/joomla) plese. can't use .htaccess or mod_rewrite it's essential visitor mysite.com first loads index.php in root.
so i'm experimenting require_once '/joomla/index.php' almost works
i can see key constants (such jpath_base) set correctly , when joomla uses require_once, required files loaded. when rendered, references within page root, not /joomla
so in index.php have ...
which results in (for example) ...
... hoping ...
it seems me @ rendering step jpath_base ignored?
is there way accomplish need do? appreciated
so i'm experimenting require_once '/joomla/index.php' almost works
i can see key constants (such jpath_base) set correctly , when joomla uses require_once, required files loaded. when rendered, references within page root, not /joomla
so in index.php have ...
require_once 'joomla/index.php';
which results in (for example) ...
<link rel="stylesheet" href="/templates/beez_20/css/general.css" type="text/css" />
... hoping ...
<link rel="stylesheet" href="/joomla/templates/beez_20/css/general.css" type="text/css" />
it seems me @ rendering step jpath_base ignored?
is there way accomplish need do? appreciated
ps
i have discovered $live_site in configuration.php , set it:
... seems half answer @ best. 404 errors abound , modifying .htaccess seems unhelpful @ stage of experimentation.
i have discovered $live_site in configuration.php , set it:
$live_site = 'joomla/';
... seems half answer @ best. 404 errors abound , modifying .htaccess seems unhelpful @ stage of experimentation.
Comments
Post a Comment