Url probleme... [Probleme Solve]

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
watakach
Posts: 14
Joined: Mon 12. Feb 2007, 19:44

Url probleme... [Probleme Solve]

Post 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
Last edited by watakach on Thu 15. Mar 2007, 06:46, edited 1 time in total.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
watakach
Posts: 14
Joined: Mon 12. Feb 2007, 19:44

Post 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
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Browsercache claered?
Did you use the htaccess?

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Nik2004
Posts: 132
Joined: Mon 9. Aug 2004, 14:31
Location: Athens,Greece

conf.inc.php settings

Post by Nik2004 »

User avatar
oeconom
Posts: 337
Joined: Fri 13. May 2005, 09:33
Location: Kassel Area
Contact:

Post 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
...alles wird gut!
still alive...
Experimenting with phpwcms and hoping to have time one day to get a site live... :wink:
One Site finished! :P
watakach
Posts: 14
Joined: Mon 12. Feb 2007, 19:44

Post by watakach »

Thx guys, i made it ! :)
Post Reply