Page 1 of 1

xampp serving static content only on localhost

PostPosted: 13. August 2015 19:00
by oppure
Hello
I've a strange problem that I can't figure out. xampp 5.6.8 on windows 10 pro which I use to develop a drupal 7 site. It works perfectly on localhost but if I try to access the website from other hosts on the lan I get only the html but no static contents. css png gif js are not loaded. :?: :?: :?: :?: :?:

Re: xampp serving static content only on localhost

PostPosted: 13. August 2015 20:12
by Altrea
Hi,

This is a Drupal problem so you should ask that question on a drupal support channel (or try google, there are many many questions which are the same like yours).

XAMPP does not contain any setting producing this error.

best wishes,
Altrea

Re: xampp serving static content only on localhost

PostPosted: 13. August 2015 22:45
by Nobbie
oppure wrote:.It works perfectly on localhost but if I try to access the website from other hosts on the lan I get only the html but no static contents. css png gif js are not loaded. :?: :?: :?: :?: :?:


Aha, what did Drupal Support answer to that?

Re: xampp serving static content only on localhost

PostPosted: 16. August 2015 16:00
by oppure
You are right it was my stupid mistake in drupal settings.php, base url parameter set to "localhost..." :oops: