Can't access remote admin -- localhost conflict?
Posted: Tue Jan 10, 2006 12:31 am
So I develop my lovely PMF installation locally. Then I go to upload....
My client's webhost insists that the mysql db have a username equal to the client's account "username" (that's a placeholder, not the real account username), but which I'll call "theirname," and their server name resolves as "localhost." I didn't know this username rule when developing this installation of PMF, so had a username in PMF I'll call "myname".
I imported my db successfully and uploaded the files. I ran installer.php. After the last step I got mysql error messages saying "myname@localhost" was no good, and the PMF installation wouldn't display. After some fiddling around (including simply putting "theirname" in place of "myname" in data.php), the installation is now up and running remotely. So here's what I can now run successfully -- at least in terms of being able to view the site -- in data.php:
On my computer (localhost):
server = localhost
username = myname
On the remote server (what they call localhost)
server = localhost
username = theirname
The problem is, I can get into admin on my computer, but when I go to the admin page on the remote installation, I get 403 forbidden. Is it possible that this is occurring because of the identical remote server name -- or is it purely a CHMOD thing? Or something else?
I have, BTW, set privileges according to the suggestions in the documentation at paragraph 2.b, which is why I wonder if it's something other than a CHMOD issue. OTOH, I'm getting the same 403 messages after deleting cookies, so I don't see how the 403 can be a response to me in particular, which makes me wonder whether it is some sort of general privileges issue.
Thanks,
Ed[/i]
My client's webhost insists that the mysql db have a username equal to the client's account "username" (that's a placeholder, not the real account username), but which I'll call "theirname," and their server name resolves as "localhost." I didn't know this username rule when developing this installation of PMF, so had a username in PMF I'll call "myname".
I imported my db successfully and uploaded the files. I ran installer.php. After the last step I got mysql error messages saying "myname@localhost" was no good, and the PMF installation wouldn't display. After some fiddling around (including simply putting "theirname" in place of "myname" in data.php), the installation is now up and running remotely. So here's what I can now run successfully -- at least in terms of being able to view the site -- in data.php:
On my computer (localhost):
server = localhost
username = myname
On the remote server (what they call localhost)
server = localhost
username = theirname
The problem is, I can get into admin on my computer, but when I go to the admin page on the remote installation, I get 403 forbidden. Is it possible that this is occurring because of the identical remote server name -- or is it purely a CHMOD thing? Or something else?
I have, BTW, set privileges according to the suggestions in the documentation at paragraph 2.b, which is why I wonder if it's something other than a CHMOD issue. OTOH, I'm getting the same 403 messages after deleting cookies, so I don't see how the 403 can be a response to me in particular, which makes me wonder whether it is some sort of general privileges issue.
Thanks,
Ed[/i]