Hi, I'm trying to get cakephp to run on a machine that serves a lot of domains. This means I cannot change the webroot to my liking. This also means that have to break up cake's directory structure and chance a few constants in index.php which is located in webroot.
My setup looks like this (everything is located under /var/www/www.example.com/: cake testapp htdocs/test As the manual proposes, I have set ROOT to "/var/www/www.example.com", APP_DIR to "testapp" and CAKE_CORE_INCLUDE_PATH to ROOT. When I open www.example.com/test in a browser, the site is loaded properly, but as soon as I add an URL parameter to it (i.e. www.example.com/test/mycontroller) I get an internal server error (500). I tried to fiddle around with different constants and settings, but no success. This happens on a server with dynamic virtual hosts, but also on another server which can only be administrated withsome admin software, so I don't know how Apache is configured. I did everything exactly as demonstrated in the manual, I even tried it a couple of times, but I always get the same error on both servers. How can I setup cake in a production environment where APP_DIR and CAKE_CORE_INCLUDE_PATH are located above the document root? Locally, everything runs fine, but I leave the default directory structure intact. Any help is appreciated! Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
