Wednesday, January 6, 2010

Re: Can CakePHP run in a user account?

Thanks, Marcelo. I did try that but it didn't work out, I'm afraid. I
edited the 3 .htaccess files (in /, /apps, /apps/webroot) to look
like:

<IfModule mod_rewrite.c>
RewriteBase /~fredriley
RewriteEngine on
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>

but when I then opened up /index.php (in the cake directory) I got a
404. Not a bother, Kees's solution works fine, and I'm just testing at
the moment.

Cheers

Fred

On Jan 5, 9:17 pm, Marcelo Andrade <mfandr...@gmail.com> wrote:
> On Tue, Jan 5, 2010 at 5:59 PM, Fred Riley <fred.ri...@gmail.com> wrote:
> > (..)
> > I can't be the first person to have come across this issue. Is there
> > not a FAQ somewhere?
>
> Just include the directive
>
> RewriteBase /~theusername
>
> at the beginning of your .htaccess files.
>
> Best regards.
>
> --
> MARCELO F ANDRADE
> Belem, Amazonia, Brazil
>
> "I took the red pill"

No comments: