Forums / Cotonti / General / How can I change the Absolute Path to Relative Path?

ParisVII
#1 2013-07-23 09:00

I can't access my website completely through either Intranet or Internet

 

Guide me please~Thanks very much~~

Trustmaster
#2 2013-07-24 07:29

Could you please tell us in more detail what happened?

May the Source be with you!
ParisVII
#3 2013-07-25 12:04
Hello master~~^^ The problem is ,I set up Cotonti on my localhost, the URL is http://192.168.1.112/cotonti/ when I visit the site through another computer on the LAN ,it displays the content only (without CSS files) and when I click hyperlinks ,the URL changes to http://localhost/cotonti/XXXXX ,so it can't find the server~~
Twiebie
#4 2013-07-25 14:14

Make sure the URL in datas/config.php is set to http://192.168.1.112/cotonti

ParisVII
#5 2013-07-25 15:50
Wow `Cool~~I Got it!!~~~Thank U very much^^