On Mar 12, 8:57 pm, mellowjen <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am trying to install cakephp on my website but whenever I do so, every
> page on my site that's currently live cannot be accessed and is viewed as a
> cakephp page (throwing errors about modules not being found, etc.)
>
> The problem goes away when I remove the main .htaccess file in the top
> level. Question being - is this .htaccess file necessary? If it is, how do
> I edit it to affect only pages using the cakephp code and not everything?
Either
1) Move these files to be in your app/webroot folder (the url will
work as before then)
OR
2) Copy the 2 -d,-f (not a dir, not a file) rules from the webroot
htaccess to your top level htaccess file
https://trac.cakephp.org/browser/branches/1.1.x.x/app/webroot/.htaccess#L3
It's probably worth investigating changing to have a production style
setup (move anything that isn't web-accessible out of the webroot)
HTH,
AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---