Changing theme only works on localhost

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Guest

Changing theme only works on localhost

Post by Guest »

Greetings, new to the community so let me fire off my first question:

I'm running Serendipity 0.8-beta2 on Mandrake 10.1

Install went fine, although there were a few yellow indicators that I could not figure out how to fix. In any event the install worked great and I'm up and running. I changed the them on the local machine to something I like, and looks great. Posted two entries and all is good. Mind you I do this from home and use either my ip address, from a different machine, or simply locathost in the URL when on the server itself.

When I try and access the site from any other location (other then my local network) the them is lost and set back to what I can only assume is the default (although it's extremly stripped down). Also, the page loads extremly slow.

It sounds like this could be a server hostname issue, but it seems that doesnt make sense since I'm running other apps, (Cacti for example) with no problems.

Any suggestions?

http://www.winwardsystems.com/weblog/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Changing theme only works on localhost

Post by garvinhicking »

You need to make sure that the 'baseURL' config directive is set to the actual hostname you can use/access...

The problem seems to be that you're running your webserver on a nonstandard port and you entered a IP Adress as basename of your Blog ('http://172.16.1.11/'), which does not seem right.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Erehwon
Posts: 4
Joined: Wed Mar 09, 2005 6:10 pm

Post by Erehwon »

I am running my webserver on the standard port 80, but using stealth redirection (masking) to allow it to work since my cable provider does not allow web servers on their network.

Works on all my other applications, just not this one.

Anyway around this?

Thanks!

Edit:

Just changed the URL base path as suggested, from the ip of the server, to the URL.

The page now loads fast, as it should, however the theme is not displayed.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hm, it seems that the URL rewriting does not catch

http://www.winwardsystems.com/weblog/in ... dipity.css

I'll need to make some checks for that, will talk to you later.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Please tell me your config option for "Serendipity HTTP Path"

It should point to /weblog/.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply