remote access to admin pages times out

Having trouble installing serendipity?
Post Reply
uptoome
Regular
Posts: 13
Joined: Sun Aug 07, 2005 6:18 am

remote access to admin pages times out

Post by uptoome »

I can access the admin page when running locally (http://localhost/mydomain). I can access the admin page when running from another pc on my local network, i.e. (http://111.222.333.444/mydomain). I've asked a friend to try and log in to the admin page, but this fails, with a timeout. I'm not sure what to look for, or where to look for it, to figure out what the problem is. Remote access to the blog works fine. Any help will be greatly appreciated. Regards.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: remote access to admin pages times out

Post by garvinhicking »

Check what your baseURL setting is in the Serendipity configuration.

Ask your friend which HTTP host timesout. It seems it is redirecting to "localhost" because of your config.

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/
uptoome
Regular
Posts: 13
Joined: Sun Aug 07, 2005 6:18 am

Post by uptoome »

I've been able to tweak things to allow remote access to the admin pages by changing baseURL to http://my-static-ip-address/my-document-directory., and dbHost->localhost.

However, this has the unfortunate consequence of my not being able to access the admin pages from my server system, or from another pc located on my local network.

Nasty hack to get around this is to access the db directly, and change baseURL to http://localhost/my-document-directory

URL Rewriting is set to Disable URL Rewriting... there is no None option.

Using serendipity 0.9
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You might need to enabled the "HTTP-Host" autodetection, so that s9y uses whatever host you entered to show you followup pages.

What OS are you using? You can also just create an alias to the static IP address from within your network that gets mapped to the internal IP/hostname.

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/
uptoome
Regular
Posts: 13
Joined: Sun Aug 07, 2005 6:18 am

Post by uptoome »

OS = Debian/Sarge

I've hacked together a page to change the baseURL. Since things are working, I'll go back to looking at the overall configuration later. For now, I'm going to spend some time learning how to write plugins. I'm especially interested in how to add Chi Kien Uong's Advanced Poll to a sidebar. Maybe this is a nugget. Regardless, it will be a good learning experience.

Regards,

jj
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Okay, but did you try just enabling the Autodetect setting? :)

Anyways, it's great your learning to code plugins. Report here if you have questions or problems! :))

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