Page 1 of 1

remote access to admin pages times out

Posted: Wed Nov 23, 2005 9:16 pm
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.

Re: remote access to admin pages times out

Posted: Wed Nov 23, 2005 9:19 pm
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

Posted: Sat Nov 26, 2005 12:18 pm
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

Posted: Sat Nov 26, 2005 12:53 pm
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

Posted: Tue Nov 29, 2005 9:06 am
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

Posted: Tue Nov 29, 2005 10:49 am
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