Page 1 of 1

Url probleme... [Probleme Solve]

Posted: Tue 13. Mar 2007, 21:53
by watakach
Hi, i have a little probleme about my new website, its because i test phpwcms in localhost... i install it to localhost/phpwcms... I transferd all the file plus the Data base, and change the file


and now the probleme is my web site conf.inc.php and now when i go to

http://www.mywebsite.com/login.php it works but after when i log, i have this url

http://www.mywebsite.com/phpwcms/phpwcms.php

AND

i should have http://www.mywebsite.com/phpwcms.php

So i know its because i transfer the files... but can i reconfig the path ??? if so how ... please it's urgent....

Watakach

Posted: Tue 13. Mar 2007, 22:37
by flip-flop
Hi,

have a look into your conf.inc.php

Code: Select all

$phpwcms["site"]              = "http://".$_SERVER['SERVER_NAME']."/";
$phpwcms["admin_email"]       = 'webmaster@example.com';

// paths
$phpwcms["DOC_ROOT"]          =  $_SERVER['DOCUMENT_ROOT']; 
$phpwcms['root']              = ''; 
Regards Knut

Posted: Wed 14. Mar 2007, 08:33
by watakach
Hi, thx to answer so fast !!!

See what i wrote...

Code: Select all

$phpwcms["site"]              = "http://www.mywebsite.com/";
$phpwcms["admin_email"]       = 'myemail@lala.com';

// paths
$phpwcms["DOC_ROOT"]          =  $_SERVER['DOCUMENT_ROOT'];
$phpwcms['root']              = '';
But what is DOC_ROOT ? i tried things.. but awlays a /phpwcms/ between my website addresse and the files...

Watakach

Posted: Wed 14. Mar 2007, 09:04
by flip-flop
Browsercache claered?
Did you use the htaccess?

Knut

conf.inc.php settings

Posted: Wed 14. Mar 2007, 09:46
by Nik2004

Posted: Wed 14. Mar 2007, 15:57
by oeconom
Hi folks,

is it also possible (in an easy manner) to call another file than "index.php"?
Because everything refers to index.php, as index.php?... etc., so just renaming doesn't work.

Thanks,
FELIX

Posted: Thu 15. Mar 2007, 06:43
by watakach
Thx guys, i made it ! :)