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!!
SOLVED: url with alias not working
SOLVED: url with alias not working
Last edited by Tidida on Thu 8. Jul 2010, 18:08, edited 1 time in total.
The syntax used is identical
Re: url with alias not working
Hi,
is this right?
$phpwcms['DOC_ROOT'] = '//ipaddress/s019/domain.gob.mx/';
knut
is this right?
$phpwcms['DOC_ROOT'] = '//ipaddress/s019/domain.gob.mx/';
knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Re: url with alias not working
THAAAANNNKKKSSS!!!!!
Yep, that was all!!!
The re-write still dosen't work but the site is working perfectly.
You got a sharp eye there, thanks!
Yep, that was all!!!
The re-write still dosen't work but the site is working perfectly.
You got a sharp eye there, thanks!
The syntax used is identical