xampp serving static content only on localhost

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

xampp serving static content only on localhost

Postby oppure » 13. August 2015 19:00

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. :?: :?: :?: :?: :?:
oppure
 
Posts: 2
Joined: 13. August 2015 18:56
Operating System: windows

Re: xampp serving static content only on localhost

Postby Altrea » 13. August 2015 20:12

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
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: xampp serving static content only on localhost

Postby Nobbie » 13. August 2015 22:45

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?
Nobbie
 
Posts: 13165
Joined: 09. March 2008 13:04

Re: xampp serving static content only on localhost

Postby oppure » 16. August 2015 16:00

You are right it was my stupid mistake in drupal settings.php, base url parameter set to "localhost..." :oops:
oppure
 
Posts: 2
Joined: 13. August 2015 18:56
Operating System: windows


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 147 guests