Still no luck.
I decided the echo all the constants generated in my index.php files
to make sure everything was working correctly after I tried to setup a
simple calendar app to test things out. It can't find the 'config/
core.php' inside the relevant app folder, and looking at
'bootstrap.php' which threw the error on around line 34, this seems to
be because the APP_PATH isn't set correctly.
Looking at the 'index.php' file again, I see this is set as
"define('APP_PATH', ROOT . DS . APP_DIR . DS);"
But when I echo it, it comes up empty.
Now, I'm such a newb, I can't say that this is even something wrong-
there's some if/esle logic in there too.
I'm so close on this setup... it's irksome that I can't get this last
little hurdle topped.
-B
On Sep 25, 5:29 am, francky06l <[EMAIL PROTECTED]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---