You can try using cakes internal rewrite (shared hosts often impose
restrictions)

in the config/core.php

/*
 * To configure CakePHP *not* to use mod_rewrite and to
 * use CakePHP pretty URLs, remove these .htaccess
 * files:
 *
 * /.htaccess
 * /app/.htaccess
 * /app/webroot/.htaccess
 *
 * And uncomment the define below:
 */

define ('BASE_URL', env('SCRIPT_NAME'));

- S


On 03/08/2007, walterbyrd < [EMAIL PROTECTED]> wrote:
>
>
>
>
> On Aug 3, 9:12 am, "Christophe C." < [EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Make sure you have the directive AllowOverride set to All for your
> > current directory, for your htaccess to override apache's default
> > configuration.
>
> I changed that, and then did an apache stop/apache start, but it
> didn't help. I have DocumentRoot set to /var/www. and I have cake
> installed in /var/www/cake. I am a little reluctant to change to the
> DocumentRoot setting because 1) I would like to be able to use
> applications other than cake. 2) I intend to work with shared hosting
> eventually, and I doubt I will be able to change the DocumentRoot in
> shared hosting. So I would like to know that cake will work with
> standard settings.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to