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?
404 error on client trying to open admin page, release 0.9
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: 404 error on client trying to open admin page, release 0
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
Thus, set your URL Rewriting to "None" and it should work!
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/
# 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/
AllowOverride set to All; URL rewriting is set to 'Disable'
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.
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.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: AllowOverride set to All; URL rewriting is set to 'Disab
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
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
# 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/
# 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/
I have gotten things working, thanks to your feedback
I logged into mysql and changed serendipity_config.baseURL to
http://192.168.x.y/mydirectoryname/
from
http://localhost/mydirectoryname/
Thank you
http://192.168.x.y/mydirectoryname/
from
http://localhost/mydirectoryname/
Thank you