Quote from: OpenGeek at Jan 28, 2011, 09:52 AM
Your site_url values are wrong. site_url must always be the complete URL, including the scheme, http_host, and base_url, e.g. if base_url is /modxishere/ and scheme is http:// and http_host is domain.tld, then site_url must be http://domain.tld/modxishere/
Thank you for your prompt reply. Here is a breakdown of my dir structure to help clarify (I should probably have done this originally, please excuse my muddled brain, long days, short nights
/srv/www/foo.org
|
+-- .htaccess
assets
config.core.php
connectors
core
index.php
manager
/srv/www/dev.foo.org
|
+-- .htaccess
config.core.php
index.php
With the appropriate apache configurations for each listed as (where the name of the site *is* the name of the dir/DocumentRoot);
'web' context
DocumentRoot /srv/www/foo.org
'dev' context
DocumentRoot /srv/www/dev.foo.org
’dev’ -> index.php has also been edited;
/* Initialize the default 'web' context */
$modx->initialize('dev');
And both ’web’ and ’dev’ .htaccess files contain;
RewriteEngine On
RewriteBase /
This is being run with Apache/2.2.9 - (Debian, Lenny)
Is this setup correct?
Again thank you for time, patience and answers. I learn pretty quick, and may I say that MODx is an *excellent* example of how a CMF/CMS should work.
Dave