SOLVED: url with alias not working

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Tidida
Posts: 32
Joined: Thu 17. Jun 2004, 08:42
Location: Mexico City

SOLVED: url with alias not working

Post by Tidida »

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!!
Last edited by Tidida on Thu 8. Jul 2010, 18:08, edited 1 time in total.
The syntax used is identical
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: url with alias not working

Post by flip-flop »

Hi,

is this right?

$phpwcms['DOC_ROOT'] = '//ipaddress/s019/domain.gob.mx/';

knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Tidida
Posts: 32
Joined: Thu 17. Jun 2004, 08:42
Location: Mexico City

Re: url with alias not working

Post by Tidida »

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!
The syntax used is identical
Post Reply