It might be that .htaccess files are not handled for user directories. If so, check the file app/config/core.php and enable rewriting by CakePHP.
On 4 jan 2010, at 21:29, Fred Riley wrote:
> This has to be a FAQ, but I can't find a CakePHP FAQ anywhere so here
> goes anyway: can CakePHP run on a *nix system in a user account? That
> is, with a URL such as www.anyoldhost.com/~username/myapp. It's pretty
> crucial that I know this as although I've full control over my
> localhost installation I don't have root privileges on our
> institutional Unix system and will have to run Cake apps in user
> accounts. If it can run in user accounts, are there any special
> configs that need to be applied?
>
> This has come to mind because I've been trying the Sitepoint Notes
> tutorial (http://articles.sitepoint.com/print/application-development-
> cakephp|Sitepoint tutorial) on a Macbook running OS/X and XAMPP. If I
> put Cake into Users/username/Sites/cake_1.2.5 and try the URL
> localhost/~username/cake_1.2.5/ in a browser, it fails with a 404
> if .htaccess is present in Cake root on account of the rewrite
> directive. Removing .htaccess displays index.php ok but without a
> rewrite the tutorial falls apart (the URL localhost/~username/
> cake_1.2.5/notes/ fails, for instance). On localhost I could install
> cakePHP as root user for testing, but there'd be little point in
> testing if I couldn't deploy it on our institutional server.
>
> If there is a FAQ do please point me to it as I don't like asking
> RTFFAQ questions. Thanks.
>
> Fred
> University of Nottingham
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
--
Kees de Bruin
"A vacation is having nothing to do and all day to do it in"
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment