Make sure you comment out the line in app/conf/core.php that says:
define ('BASE_URL', env('SCRIPT_NAME'));
when uploading your work to your production server.
On 12/21/06, keymaster <[EMAIL PROTECTED]> wrote:
After giving up getting mod_rewrite working on my windows development
environment (I settled for cake pretty urls - thank goodness for them),
I thought I would have no problems on my production server.
My production server has mod_rewrite, so I reasoned it would be a
breeze, after all, that is what cake was designed for :-)
After installing cake, I got the following error:
"Not Found
The requested URL /home/myaccount/public_html/app/webroot/ was not
found on this server.
Additionally, a 404 Not Found error was encountered while trying to use
an ErrorDocument to handle the request."
The only thing I can think of that I am doing differently is:
1. since I have not yet assigned a domain name to the account, I am
accessing it by:
http://99.99.999.999/~accountname/
2. The setup is a basic cpanel server.
3. PHP is running as a CGI.
I have seen various messages on this board and in Trac about issues
similiar to what I am experiencing, and tried all the posted
suggestions, but... nothing.
Hoping by posting my specific error message someone can suggest what I
should do.
Thanks very much.
>
--
_nimrod_a_abing_
[?] http://abing.gotdns.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---