Page 1 of 1

404 error on client trying to open admin page, release 0.9

Posted: Wed Nov 09, 2005 3:51 am
by uptoome
I installed 0.9; Debian/Sarge; Apache 2; MySql 4.0.24.
I have created two users, several categoris and an entry, when connecting from the server.

I can see the blog from a client PC http://192.168.x.y/thedocumentdirectory); everything looks fine. However, when I try to open the administration page from the client I get a 404 error.
When the error page is displayed, the address has been changed to http://localhost/thedocumentdirectory/s ... _admin.php

If I change this to
http://192.168.x.y/thedocumentdirectory ... _admin.php, the Admin login page is displayed (without styling) and I can log in as I do on the server. From that point on, everything works as expected (still, with the styling missing).

Any ideas/suggestions on how to fix things so I can get to the Admin page from a client?

Re: 404 error on client trying to open admin page, release 0

Posted: Wed Nov 09, 2005 10:54 am
by garvinhicking
Yes, you enabled the "URL Rewriting" option in your s9y config, but your server is not configured to use the configured URL rewriting scheme (might be because of missing AllowOverride settings for your vhost, or non-existant mod_rewrite).

Thus, set your URL Rewriting to "None" and it should work!

Regards,
Garvin

AllowOverride set to All; URL rewriting is set to 'Disable'

Posted: Wed Nov 09, 2005 2:12 pm
by uptoome
Apologies, but the problem still exists.

I have set AllowOverride All to my serendipity directory.
I temporarily set it to 'All' on my DocumentRoot directory as well.
Url Rewriting is already set as 'Disable URL Rewriting' in the Appearance and Options page.
I have restarted Apache, stopped the client browser, restarted it and cleared its cache before trying to log in.

Re: AllowOverride set to All; URL rewriting is set to 'Disab

Posted: Wed Nov 09, 2005 2:34 pm
by garvinhicking
Hm, that's strange.

In your s9y configuration, what did you enter as the "base URL" for your blog? It should be the same you use to access your Blog.

Also check if you have enabled "HTTP-Host autodetection", if you enable this, the HTTP host may change depending on what host you used to enter s9y.

If that all doesn'T help, can you post your virtualhost config that applies to your s9y path?

Regards,
Garvin

I have gotten things working, thanks to your feedback

Posted: Wed Nov 09, 2005 3:27 pm
by uptoome
I logged into mysql and changed serendipity_config.baseURL to
http://192.168.x.y/mydirectoryname/
from
http://localhost/mydirectoryname/

Thank you