Problem with accessing server from intranet - broken links

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Problem with accessing server from intranet - broken links

Postby pukovnik » 11. July 2007 11:19

Please help, I installed xampp and its working fine on local machine but when I access files from local intranet it execute php script but all links of images, styles are pointed to localhost and not to server name so I get broken links
thanx in advance
pukovnik
 
Posts: 2
Joined: 11. July 2007 10:42

Postby davidspan » 12. July 2007 20:25

thats because your browser is looking on your client computer for the images. change the urls for your images to just /image/mypic.gif of use the ip address in the links just as you would type them into your browser.

http://xxx.xxx.xxx.xxx//image/mypic.gif
change the "x"s with your server's ip
XAMPP is one of the topics I write about
MyBlogIt!
davidspan
 
Posts: 47
Joined: 25. June 2007 01:59

Postby pukovnik » 13. July 2007 10:49

I know that, but is there any other solution, something with server settings?
pukovnik
 
Posts: 2
Joined: 11. July 2007 10:42


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 139 guests