a note from me ...

I had to shift my .htaccess file UP one level (so it's sitting outside
the app dir) .....

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule    ^$    app/webroot/    [L]
    RewriteRule    (.*) app/webroot/$1    [L]
 </IfModule>

then it was all sweet
Cheers
mr K

PS: I'm running cake on my local Mac ... so this might be diff on my
servers...


On Jul 20, 2:47 am, Daniel Hofstetter <[EMAIL PROTECTED]> wrote:
> Hi,
>
> [snipped]
>
> > It seems that everything is ok, but i dont know why i cannot see any
> > style--Just words ,words, and words!
>
> > what's wrong with it?
>
> Probably a mod_rewrite issue, have a look 
> athttp://book.cakephp.org/view/333/a-note-on-mod_rewrite
>
> > and it tell me that:
>
> > Editing this Page
> > To change the content of this page, edit: APP/views/pages/home.ctp.
> > To change its layout, edit: APP/views/layouts/default.ctp.
> > You can also add some CSS styles for your pages at: APP/webroot/css.
>
> > but i can't find the home.ctp, default.ctp. why?
>
> You can copy those files from cake/libs/view/pages/ resp. cake/libs/
> view/layouts.
>
> > And where is the default page's file? I can't find it in the whole
> > fold-(Cakephp).
>
> > I have this problem in my home PC,but it is OK with the PC in my
> > company.
>
> > The last question is:
>
> > With my company PC, I built a blog as the manual shows, I can edit the
> > CSS,but I dont know where should I change the Layout or the content in
> > header and footer.
>
> app/views/layouts/default.ctp (after you copied it from cake/libs/view/
> layouts)
>
> Hope that helps!
>
> --
> Daniel Hofstetterhttp://cakebaker.42dh.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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