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

ParisVII
#1 23. Juli 2013, 09:00

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

 

Guide me please~Thanks very much~~

Trustmaster
#2 24. Juli 2013, 07:29

Could you please tell us in more detail what happened?

May the Source be with you!
ParisVII
#3 25. Juli 2013, 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 25. Juli 2013, 14:14

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

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