Getting started with Cakephp without mod_rewrite
You want to know more about CakePHP ? Then I can advice you the following :
Step 1 : Start with a working apache web server.
Here can you registrate yourself for a free account!
When you are reading connect to your account usng an ftp client and upload the latest cakephp framework. (Atm it is 1.2 RC1)
FYI : I used release candidate 1 from 1.2 since I noticed that version 1.2 is better documented than stable release 1,1
Step 2 : Follow the CakePHP Blog Tutorial
It is an easy to follow tutorial. I only had troubles with it because of mod_rewrite so I describe what I’ve done to let it work without mod_rewriten:
- Edit /app/config/core.php and uncomment the line that looks like:
Configure::write(‘App.baseUrl’, env(‘SCRIPT_NAME’)); - remove these .htaccess files
-
/.htaccess
-
/app/.htaccess
-
/app/webroot/.htaccess
-
- Instead of http://www.example.com/index.php/posts/index all your urls will become http://www.example.com/index.php/posts/index
And that should be it! Simple ? Yes if you know how to do it, else you could be searching for hours. And it seemed I was not alone having this problem.
Step 3 : Start over from 0 and develop something else using their excellent manual
Comments
2 Responses to “Getting started with Cakephp without mod_rewrite”
Leave a Reply

You’re obviously an idiot. Point 3 http://www.example.com/index.php/posts/index is the exact same URL so there is no change from {this} to {this}. I wouldn’t trust your tutorial. Put more effort into it next time.
Jason,
Thanks for pointing out my copy/paste error in such a friendly way!
Glad I could help you!