Ok, I notice there are 3 .htacess files included in a cake release.
One in the top-level directory, one in app and one in app/webroot, so
they should all look like this:

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

or just one of them?

On Jan 26, 6:09 am, RichardAtHome <richardath...@gmail.com> wrote:
> Might be worth re-starting the (web) server. It fixed a 500 error I
> was getting a while back. Been fine every since (even after uploading
> source updates).
>
> On Jan 26, 1:38 pm, inVINCable <invinceable...@gmail.com> wrote:
>
> > Hey,
>
> > Ok, I found both of the .htacess files and added "RewriteBase /myapp"
> > so my .htacess file looks like:
>
> > <IfModule mod_rewrite.c>
> >     RewriteEngine on
> >     RewriteBase /myapp
> >     RewriteRule    ^$    webroot/    [L]
> >     RewriteRule    (.*) webroot/$1    [L]
> >  </IfModule>
>
> > I also deleted the cache (just the files) and now I am getting a 500
> > Internal Server Error. I have tried this both on my local machine and
> > a live server and the same thing happens. Anyone know what I might be
> > doing wrong?
>
> > On Jan 25, 9:49 pm, Paolo Stancato <paolodo...@gmail.com> wrote:
>
> > > Find .htaccess files (there are two)  and add "RewriteBase /myapp"
> > > into mod_rewrite section.
>
> > > Regards
>
> > > 2009/1/26 inVINCable <invinceable...@gmail.com>:
>
> > > > Hey all,
>
> > > > Very simply question but cannot seem to find the answer. I have the
> > > > directory structure and everything in tact in the normal way. However,
> > > > on my server I put the entire structure in the /myapp folder in the
> > > > document root.
>
> > > > Now, everything is all mest up and there is no CSS and files are
> > > > missing and such. Surely cake has a simple variable to reflect these
> > > > changes? Any advice? I have already looked at the book and the bakery
> > > > and have tried things but they have not worked, such as messing with
> > > > the variables in the index.php file.
>
> > > > I am using version 1.2
>
> > > > Thank you for any advice/pointers.
>
> > > > Regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to