No stylesheet on remote access

Found a bug? Tell us!!
Post Reply
pphilou8
Posts: 1
Joined: Sun Sep 03, 2006 10:22 pm

No stylesheet on remote access

Post by pphilou8 »

Hi,

From localhost everything is perfect and when I'm trying to access my blog from a remote PC there is no style. Only text is displayed :(

I think it's something wrong in the right. I saw the faq but I don't know what to do.

May be someone of you could help me
Thanks and regards.
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

The rights/permissions are probably just fine. Most likely your local server is running on a nonroutable IP address, such as 192.168.x.y or 10.x.y.z. Serendipity then makes links using that address. When a local machine tries to connect, it has no problem, because it's on the same network. When a remote machine tries to connect, it looks for 192.168.x.y in its own network, not in yours. Naturally, it can't find the stylesheet.

In you configuration, if you change the "Auto-detect HTTP host" setting to "true", Serendipity will do its best to use the same URL your visitor used to access it. This should solve the problem.
Judebert
---
Website | Wishlist | PayPal
Post Reply