At the bottom of [
http://book.cakephp.org/2.0/en/installation/url-rewriting.html], they
mention where to look if you don't or can't use URL rewriting.

And after a bit of searching on that page, you'll come across [
http://book.cakephp.org/2.0/en/development/configuration.html#cakephp-core-configuration],
which mentions you must set App.baseUrl, and remove the .htaccess files if
you can't or don't want to use mod_rewrite.

However, I'd recommend sticking with mod_rewrite.  It's the convention, and
will make things simple when it comes to nice URLs (i.e., you won't have
index.php in every URL).

Secondly, I'd recommend a Composer setup, where CakePHP gets installed into
the Vendors directory.  Especially if you're using PHP 5.3 or greater. This
requires a little bit more setup in CakePHP 2.5, but is well worth it.

And thirdly, if you're just trying out the tuts, I'd recommend using
CakePHP 3.0.  Whilst not production ready, it's pretty good, and will give
you an idea of things to be aware of should you decide to use CakePHP 2.5
for full development purposes (like using Composer for the install, and the
changes in the Models).  And the composer setup isn't as tricky as CakePHP
2.5.

Regards
Reuben Helms



On Thu, Jun 12, 2014 at 11:02 PM, Kevin Burton <
ronald.kevin.bur...@gmail.com> wrote:

> I am using version  2.5.
>
> Here is the way I have defined the document root:
>
> Alias /blog "C:/Users/Kevin/cakeblog/"
> <Directory "C:/Users/Kevin/cakeblog/">
>     Options Indexes FollowSymLinks ExecCGI
>     AllowOverride all
>     Require local
> </Directory>
>
>
> So in the directory c:/Users/Kevin/cakeblog I have the Cake default folder
> structure
>
> app
>     Config
>     . . . . .
>     webroot
>         css
>         files
>         img
>         js
>         .htaccess
>         index.php
>         test.php
> lib
> plugins
> vendors
>
> So if I browse to http://localhost/blog/app/webroot/index.php I get the
> error message that the URL rewrite is not configured properly. If I
> uncomment the LoadModule line as explained at the beginning of the post I
> still get the error message. If I click on the 'Help me configure it'
> HyperLink, as far as i can tell I have the the first two stipulations
> correct. The third basically says that I should make sure that I have
> downloaded Cake from the official distribution, and that checks out. I am
> just trying to get the blog tutorial running. Ideas?
>
> Thank you.
>
> Kevin
>
>
>
>  --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "CakePHP" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/cake-php/Xk3BetZMp-g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to