Hi there
We've trialling out this application and finally we've managed installed and configured. When we go to _admin page, it comes up page nicely with login page. But we come accross that when we try to login as root/root, the message is saying Login Key Incorrect.
Here's the main.inc file that we are using.
[codebox]<?php
define('SQ_CONF_DB_DSN', 'pgsql://matrix@unix()/mysource_matrix');
define('SQ_CONF_DB2_DSN', 'pgsql://matrix@unix()/mysource_matrix');
define('SQ_CONF_DB3_DSN', 'pgsql://matrix_secondary@unix()/mysource_matrix');
define('SQ_CONF_DBCACHE_DSN', 'pgsql://matrix@unix()/mysource_matrix');
define('SQ_CONF_PEAR_PATH', SQ_SYSTEM_ROOT.'/php_includes');
$inc_dir = ini_get('include_path');
$inc_dir = (substr($inc_dir, 0, 2) == '.:') ? '.:'.SQ_CONF_PEAR_PATH.':'.substr($inc_dir, 2) : SQ_CONF_PEAR_PATH.':'.$inc_dir;
ini_set('include_path', $inc_dir);
define('SQ_CONF_BACKEND_SUFFIX', '_admin');
define('SQ_CONF_LIMBO_SUFFIX', '_edit');
define('SQ_CONF_LOGIN_SUFFIX', '_login');
define('SQ_CONF_NOCACHE_SUFFIX', 'nocache');
define('SQ_CONF_ASSET_TREE_BASE', 64);
define('SQ_CONF_ASSET_TREE_SIZE', 4);
define('SQ_CONF_ASSET_CACHE_SIZE_WEB', -1);
define('SQ_CONF_ASSET_CACHE_SIZE_CLI', -1);
define('SQ_CONF_ROLLBACK_ENABLED', '0');
define('SQ_CONF_DEBUG', 0);
define('SQ_CONF_SYSTEM_NAME', 'The System');
define('SQ_CONF_SYSTEM_OWNER', '');
define('SQ_CONF_SYSTEM_ROOT_URLS', 'dcausyd083.dewacorp.local/mysourcematrix');
define('SQ_CONF_SYSTEM_PARENT_DOMAINS', '');
define('SQ_CONF_STATIC_ROOT_URL', '');
define('SQ_CONF_WEB_PATH_SEPARATOR', '');
define('SQ_CONF_STATIC_ROOT_HTTP', true);
define('SQ_CONF_STATIC_ROOT_HTTPS', false);
define('SQ_CONF_DEFAULT_EMAIL', 'valdy@dewacorp.com');
define('SQ_CONF_TECH_EMAIL', 'valdy@dewacorp.com');
define('SQ_CONF_MAX_LOGIN_ATTEMPTS', 3);
define('SQ_CONF_REFRESH_INTERVAL', 120);
define('SQ_CONF_LOCK_LENGTH', 600);
define('SQ_CONF_ASSET_MAP_ASSET_LIMIT', 50);
define('SQ_CONF_ASSET_MAP_ASSET_DISPLAY_NAME', '%asset_short_name%');
define('SQ_CONF_SEND_CACHEABLE_HEADER', '0');
define('SQ_CONF_SEND_LAST_MODIFIED_HEADER', '0');
define('SQ_CONF_SEND_NOT_MODIFIED_HEADER', '0');
define('SQ_CONF_SEND_NO_CACHE_HEADER', '0');
define('SQ_CONF_SEND_404_CACHEABLE_HEADER', '0');
define('SQ_CONF_ERRORS_HIDE_FRONTEND', false);
define('SQ_CONF_DEFAULT_FRONTEND_LANGUAGE', 'en');
define('SQ_CONF_DEFAULT_BACKEND_LOCALE', 'en_AU');
define('SQ_CONF_DEFAULT_CHARACTER_SET', 'iso-8859-1');
define('SQ_CONF_ALLOW_IP_CHANGE', '0');
define('SQ_CONF_ALLOW_HTTP_LOGIN', '0');
define('SQ_CONF_ENABLE_EXTERNAL_AUTH_SYSTEMS', true);
define('SQ_CONF_HTTP_LOGIN_VAR', 'REMOTE_USER');
define('SQ_CONF_ACCEPT_HTTP_CREDS', '0');
define('SQ_CONF_COMMIT_BUTTON_TEXT', 'Commit');
define('SQ_CONF_LOG_EXTENSION', '.log');
define('SQ_CONF_LOG_FILE_SYSTEM', 'system');
define('SQ_CONF_LOG_FILE_ERROR', 'error');
ini_set('error_log', SQ_LOG_PATH.'/'.SQ_CONF_LOG_FILE_ERROR.SQ_CONF_LOG_EXTENSION);
define('SQ_CONF_LOG_ERRORS', true);
ini_set('log_errors', '1');
define('SQ_CONF_SESSION_GC_MAXLIFETIME', 604800);
ini_set('session.gc_maxlifetime', 604800);
define('SQ_CONF_EDITING_TIME', 3600);
define('SQ_CONF_NUM_DATA_DIRS', 20);
define('SQ_CONF_FORCE_SECURE_LOGIN_URLS', '');
define('SQ_CONF_WEB_MEMORY_LIMIT', 16);
define('SQ_CONF_CRON_MEMORY_LIMIT', 16);
define('SQ_CONF_USE_DEFAULT_SESSION_SAVE_PATH', false);
?>
[/codebox]
This is our site configuration. BTW we are using debian and apache2 and this configuration is put under the name of the website name. (/etc/apache2/sites_available/mysourcematrix) and the physical location for this site is /var/www/mysourcematrix.
[codebox]##AddType application/x-httpd-php .php
##LoadModule php4_module /usr/local/apache2/modules/libphp4.s
NameVirtualHost *:80
<VirtualHost *:80>
ServerName dcausyd083.dewacorp.local
DocumentRoot /var/www/mysourcematrix/core/web
Options -Indexes FollowSymLinks
<Directory /var/www/mysourcematrix>
Order deny,allow
Deny from all
</Directory>
<DirectoryMatch "^/var/www/mysourcematrix/(core/(web|lib)|data/public|fudge)">
Order allow,deny
Allow from all
</DirectoryMatch>
<FilesMatch "\.inc$">
Order allow,deny
Deny from all
</FilesMatch>
<LocationMatch "/(CVS|\.FFV)/">
Order allow,deny
Deny from all
</LocationMatch>
Alias /__fudge /var/www/mysourcematrix/fudge
Alias /__data /var/www/mysourcematrix/data/public
Alias /__lib /var/www/mysourcematrix/core/lib
Alias / /var/www/mysourcematrix/core/web/index.php/
</VirtualHost>
[/codebox]
I am appreciated your comment or anything.
Thank you.
Never mind guys.
We've worked out. Apparently, the SQ_SYSTEM_ROOT needs to point to the dcausyd083.dewacorp.local instead of dcausyd083.dewacorp.local/mysourcematrix
Thanks
I think your aliases are wrong as they would be matching on dcausyd083.dewacorp.local/__fudge etc. instead of dcausyd083.dewacorp.local/mysourcematrix/__fudge etc.
Try aliases like this:
Alias /mysourcematrix/__fudge /var/www/mysourcematrix/fudge
Alias /mysourcematrix/__data /var/www/mysourcematrix/data/public
Alias /mysourcematrix/__lib /var/www/mysourcematrix/core/lib
Alias /mysourcematrix /var/www/mysourcematrix/core/web/index.php/EDIT: Just beat me :) Changing the root URL will also work, but the alias change should work too if you want to keep the root URL that way it was originally.