If you use mod-rewrite, only the .htacess of the webroot is necessary. I had a similar problem, and needed to add a rewriteBase / into my htaccess.
On Sep 24, 10:34 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm setting up a more secure production-style CAKEphp configuration > for our developers to use. I'm more a sysadmin than a programmer, so > cake itself is baffling to me. > > What I'm hoping to get some help with is resolving an issue I'm having > with the .htaccess files for this setup. > > Here's the basic rundown on file structure... > > I have two main folders containing files relevant to this install. > > CAKETEST - the server's doc root. Contains the following folders/ > files: > + APP1 > - .htaccess > - index.php > + APP2 > - .htaccess > - index.php > + APP3 > - .htaccess > - index.php > + APP4 > - .htaccess > - index.php > > CAKEWEB - the folder containing all the cakey goodness and web files. > Contains the following: > + CAKES > - CURRENT > - - CAKE > + APP1 > - APP > - - WEBROOT > - VENDORS > + APP2 > - APP > - - WEBROOT > - VENDORS > + APP3 > - APP > - - WEBROOT > - VENDORS > + APP4 > - APP > - - WEBROOT > - VENDORS > > So, basically all the sensitive stuff is outside the doc root of the > server, and via the constants in the index.php files the webroots for > the various applications are resolved with a URL > likewww.subdom.domain.edu/APP1/ > > Groovy. > > Except that if I have any of those .htaccess files in place, I get a > 500 error and zip. I remove it, and it works (mostly... the basic > cake sample page is sans formatting). > > I'm stumped, as every fix I've tried fails. > > Any help? > > Thanks, > > -B --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
