SOLVED: url with alias not working
Posted: Thu 8. Jul 2010, 17:42
Hi:
I got a site that worked just fine. I used the URL rewrite and everything was ok, it was in an Linux/apache shared hosting. Then I moved it to a horrible Windows shared hosting and the problem started. The .htaccess doesn't work so I took out the URL rewrite. But the links like "index.php?alias" don't work at all. Not for the categories neither for the articles.
If I use "index.php?aid=20" there is no problem at all.
How can I fix this???
Could be some configuration of the server (I had a hard time doing it):
// database values
$phpwcms['db_host'] = 'ipaddress'; //localhost didn't work
$phpwcms['db_user'] = 'user';
$phpwcms['db_pass'] = 'pw';
$phpwcms['db_table'] = 'user';
$phpwcms['db_prepend'] = '';
$phpwcms['db_pers'] = 1;
$phpwcms['db_charset'] = 'utf8';
$phpwcms['db_collation'] = 'utf8_spanish_ci';
$phpwcms['db_version'] = 50045;
// site values
$phpwcms['site'] = 'http://www.domain.gob.mx/';
....
// paths
$phpwcms['DOC_ROOT'] = '//ipaddress/s019/domain.gob.mx/'; //$_SERVER['DOCUMENT_ROOT'];// real DOC_ROOT seems to be: '//ipaddress/s019/domain.gob.mx'
$phpwcms['root'] = ''; //default: ''
I'm running version 1.4.5
Any ideas are welcome. Thanks!!
I got a site that worked just fine. I used the URL rewrite and everything was ok, it was in an Linux/apache shared hosting. Then I moved it to a horrible Windows shared hosting and the problem started. The .htaccess doesn't work so I took out the URL rewrite. But the links like "index.php?alias" don't work at all. Not for the categories neither for the articles.
If I use "index.php?aid=20" there is no problem at all.
How can I fix this???
Could be some configuration of the server (I had a hard time doing it):
// database values
$phpwcms['db_host'] = 'ipaddress'; //localhost didn't work
$phpwcms['db_user'] = 'user';
$phpwcms['db_pass'] = 'pw';
$phpwcms['db_table'] = 'user';
$phpwcms['db_prepend'] = '';
$phpwcms['db_pers'] = 1;
$phpwcms['db_charset'] = 'utf8';
$phpwcms['db_collation'] = 'utf8_spanish_ci';
$phpwcms['db_version'] = 50045;
// site values
$phpwcms['site'] = 'http://www.domain.gob.mx/';
....
// paths
$phpwcms['DOC_ROOT'] = '//ipaddress/s019/domain.gob.mx/'; //$_SERVER['DOCUMENT_ROOT'];// real DOC_ROOT seems to be: '//ipaddress/s019/domain.gob.mx'
$phpwcms['root'] = ''; //default: ''
I'm running version 1.4.5
Any ideas are welcome. Thanks!!