
Having problems moving from localhost to remote server
June 20, 2007I have part of my application working nicely now and it mostly does what I want. But that is only on my localhost. When I copy it up to the remote server, most of it runs. It’s only when I try to update the page with an AJAX call that I get:
Not Found
The requested URL was not found on this server.
Apache Server at Port
I know I ran into this problem before, but can I remember how to fix it? Not on your nelly.
Oh well, at least if I get it fixed this time, it will be logged here for me to remember!
Gah, it turns out it was something silly that I hadn’t done (or have done, depending on how you look at it).
Because I couldn’t get the CakePHP observeForm() function to work, I had to write it out by hand. When I moved my stuff to the remote server, the path was different. A quick change of the path and it’s all hunky dory now.