On Sep 26, 5:45 pm, nobrow <[EMAIL PROTECTED]> wrote:
> Noob question ...
>
> Im trying to work my way through the blog tutorial, but I keep getting
> 404s. It may well be related to the way I installed.
>
> I have the following setup:
>
> /var/www/webroot/cake
>   /cake
>   /docs
>   index.php
>   /vendors
>
> /var/www/webroot/cake-test
>   /app
>     /config
>     /controllers
>     etc.
>   /html (previously app/webroot. Now empty)
>
> I have a virtual host setup whose address ishttp://cake-test. The
> document root is cake-test/html. Serving pages out of the doc root
> works, but
>
> http://cake-test/posts/index
>
> returns 404.
>
> php_info() would seem to indicate mod_rewrite is okay.
>
> Anyone got a clue?

Oh. So the contents of app/webroot (cake-test/html in my case) are
important then ... Am I right in thinking that I need to have at least
the .htaccess and index.php?

Still doesnt work though, but I wonder if thats because I dont have
the .htaccess from app anywhere. Where should this file go in my
setup, and do the .htaccesses need modification?

Thanks.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to