It sounds indeed sound like rewriting is not working correctly... or if I (miss)interpret your explanation another way... like php is not working at all. if you are "seeing index.php" I hope you are referring to Cakes startpage and not the actual php-code of index.php, right? Just checking.
I had a few suggestions off the top of my head. 1. Check that you actually managed to copy the .htaccess files when moving Cake. Sometimes these files are invisible and will not always be copied when just drag-n-dropping. Tell your ftp-client to view all files and check that they are really there. You should have one in each of your folders: cake_root_folder/, cake_root_folder/app/, cake_root_folder/app/webroot/ 2. Do not edit te .htaccess files. To get rewrite working you should not have to edit anything. 3. Check the permissions on the files you uploaded. (Specifically the .htaccess files.) While you are at it make app/tmp/ and all its contents writable by te webserver. (chmod 777 will do for now) 4. Instead of trying to view a view-file directly, you can check that a known image is where you expect it to be. /img/cake.power.gif /app/webroot/img/cake.power.gif If I understood your setup correctly both these should point to the same image. The first one will work if rewriting is running. That's all got at the moment, good luck. /martin On Apr 14, 3:54 pm, conspirator <[EMAIL PROTECTED]> wrote: > Hello, world! > > I've decided it's time to try to learn CakePHP. I played around with > CodeIgnitor, but every time I mentioned it, people just brought up > Cake, so I decided to make my way over to the standard(or maybe it was > just my circle of friends?). > > The first project that I decided to tackle was a heavily documented > tutorial, so I decided to take a look at the 15min. Blog Tutorial, and > of course I have some questions... > > So far I've completed all the steps to the first part of Section 8. > The tutorial suggests that I go to www.example.com/posts/indexand > see some sort of output. Unfortunately, whenever I go there, all I see > is the index.php in the root. I tried navigating to the more specific > part of the sitewww.example.com/app/views/posts/indexand received > the same thing. What am I doing wrong? > > I feel as if I didn't do the mod_rewrite correctly, but would love > some information on how to do this correctly as I wasn't sure how to > correctly modify this or where to go. I contacted my hosting company > and they informed me that what I wanted was already set as the > default, but I'm not sure. Any help would be appreciated! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
