Thanks for the reply, Kees.

On Jan 5, 4:23 pm, Kees de Bruin <halfje.br...@gmail.com> wrote:
> Yes you can. Just put all inside your public_html directory (assuming that 
> user directories are enabled) or a subdirectory of public_html.

Ok, that's useful to know. My immediate 'issue' is on localhost. I
could, as Adeola suggested (thanks also for your reply), put Cake in
htdocs as root user and I'm sure it would work fine, but as I'll not
be able to do that on a live server I want to test Cake in a user
account (http://localhost/~fredriley/). Now, if I unzip cake_1.2.5.zip
into the user account's webroot on the Mac (Users/fredriley/Sites/
cake_1.2.5) that includes a .htaccess file with mod_rewrite
directives, so that when I try the URL http://localhost/~fredriley/cake_1.2.5/
I get a 404. If I remove the .htaccess then the index.php script runs
ok, but of course rewrites (as used in the tutorial cited) fail. I
tried putting

DocumentRoot /Users/fredriley/Sites/cake_1.2.5/app/webroot

into the .htaccess but got an internal server error.

So the follow-up question is: how do I configure Cake to run in a
standard user account? Do I need to edit the .htaccess file, and if so
what should I add? I've set permissions according to the fine manual,
and have carried out the simple development installation. All of the
installations, though, seem to assume root access to the system and
Apache config - none mention standard user accounts.

I'm very keen to use Cake. My client-side life has been vastly
improved by the excellent jQuery (despite its steep learning curve),
and if I can get a similar improvement on my server-side coding that
could save me a lot of time and enable me to do far more with my web
apps.

Cheers

Fred
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to