URL rewrite problem...

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
numer9

URL rewrite problem...

Post by numer9 »

Hey,
i got a problem. I created another folder on my serwer, called it test. it's in www.numer9.pl/test; then i created alias, so that test.numer9.pl will point to that folder. Everything went well for now :)

Then went to config file and changed all the entries to alias name.

My config file is listed below :)

The problem goes in this line:

$config['root_url'] = 'http://test.numer9.pl/';

when it's like that (pointing to alias) - rewrite engine doesn't work.
When i switch it back to

$config['root_url'] = 'http://numer9.pl/test';

it rewrites allright, but my alias is gone.

Any suggestions for me?

Code: Select all

<?php

$config['dbms'] = 'mysql';
$config['db_hostname'] = 'sql.numer9.pl';
$config['db_username'] = 'numer9_18';
$config['db_password'] = 'xxx';
$config['db_name'] = 'numer9_18';
$config['db_prefix'] = 'cms_';
$config['root_url'] = 'http://test.numer9.pl/';
$config['root_path'] = '/home/numer9/ftp/test';
$config['query_var'] = 'page';
$config['use_bb_code'] = false;
$config['use_smarty_php_tags'] = false;
$config['previews_path'] = '/home/numer9/ftp/test/tmp/cache';
$config['uploads_path'] = '/home/numer9/ftp/test/uploads';
$config['uploads_url'] = 'http://test.numer9.pl/uploads';
$config['max_upload_size'] = 1000000;
$config['debug'] = false;
$config['assume_mod_rewrite'] = true;
$config['auto_alias_content'] = true;
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
$config['use_Indite'] = false;
$config['image_uploads_path'] = '/home/numer9/ftp/test/uploads/images';
$config['image_uploads_url'] = 'http://numer9.pl/test/uploads/images';
$config['default_encoding'] = '';
$config['disable_htmlarea_translation'] = false;
$config['admin_dir'] = 'admin';
$config['persistent_db_conn'] = false;
$config['default_upload_permission'] = '664';
$config['page_extension'] = '.html';
$config['use_adodb_lite'] = true;
$config['locale'] = '';
$config['admin_encoding'] = 'utf-8';

?>
Locked

Return to “CMSMS Core”