If you aren't planning to host another app in your free space, I recommend put app and cake directorys inside your theotest.awardspace.biz folder for simplicity.
Ask technical support if .htaccess files are allowed in your free hosting plans. If it's, then try to put this line in all the .htaccess files: RewriteBase / (below the line <IfModule mod_rewrite.c>) That solved a similar problem in 1and1 hosting. On Aug 5, 10:32 am, Theo <[email protected]> wrote: > Hi, > > I'm new to cakePHP after becoming disenfranchised with code igniter. I > followed the blog tutorial and have decided to put it online on a free > hosting (http://theotest.awardspace.biz/) as if it where a production > site ( in experience this is very different form doing on your own > LAMP set up). > > The directory structure I'm forced/ would like to used is > > /home/www/ (my root) > app > cake > theotest.awardspace.biz/ (my web root) > > as I understand this should be perfectly acceptable (and allow me to > share my cake across other sites). > > I've modified theotest.awardspace.biz/index.php to: > > if (!defined('ROOT')) { > define('ROOT', DS.'home'.DS.'www'); > } > /** > * The actual directory name for the "app". > * > */ > if (!defined('APP_DIR')) { > define('APP_DIR', 'app'); > } > /** > * The absolute path to the "cake" directory, WITHOUT a trailing DS. > * > */ > if (!defined('CAKE_CORE_INCLUDE_PATH')) { > define('CAKE_CORE_INCLUDE_PATH', DS.'home'.DS.'www'); > } > > When viewing the site I get the summery page looking good with all the > styles (http://theotest.awardspace.biz) but when I click a link I get, > > "Internal Server Error > > The server encountered an internal error or misconfiguration and was > unable to complete your request. > > Please contact the server administrator, [no address given] and inform > them of the time the error occurred, and anything you might have done > that may have caused the error. > > More information about this error may be available in the server error > log. > > Additionally, a 500 Internal Server Error error was encountered while > trying to use an ErrorDocument to handle the request." > > I understand this could be some thing to do with mod_rewrite and > my .htaccess files and I've tryed alot of things but with no luck. > > Thanks in advance. > > Theo. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
