Thanks PaulV.  Thats hitting the nail squarely on the head. And right in the
sweet spot too.

worked first time.  Although since I baked it in a project directory I only
needed the last two .htaccess


 *"mod_rewrite is voodoo. Damned cool voodoo, but still voodoo. ''*
>
Brian Moore
 [EMAIL PROTECTED]

Thats the icing on the cake, for the day.
Bake on!

On 09/02/07, PaulV <[EMAIL PROTECTED]> wrote:
>
>
> I am also using the Business Pro account from UK 1&1 and also had the
> same problems with mod_rewrite.
>
> I fixed mine by using the following .htaccess files
>
> /.htaccess
>
> <IfModule mod_rewrite.c>
>    RewriteEngine on
>    RewriteRule    ^$ /app/webroot/    [L]
>    RewriteRule    (.*) /app/webroot/$1 [L]
> </IfModule>
>
> /app/.htaccess
>
> <IfModule mod_rewrite.c>
>     RewriteEngine on
>     RewriteRule    ^$    /app/webroot/    [L]
>     RewriteRule    (.*) /app/webroot/$1    [L]
> </IfModule>
>
> /app/webroot/.htaccess
>
> <IfModule mod_rewrite.c>
>     RewriteEngine On
>     RewriteCond %{REQUEST_FILENAME} !-d
>     RewriteCond %{REQUEST_FILENAME} !-f
>     RewriteRule ^(.*)$ /app/webroot/index.php?url=$1 [QSA,L]
> </IfModule>
>
> I am also told by someone else (thanks Jeremy) who got this to work a
> while ago that the following work, but I have not tried them:
>
> root .htaccess:
>
>    RewriteEngine on
>    RewriteBase /
>    RewriteRule    ^$ app/webroot/    [L]
>    RewriteRule    (.*) app/webroot/$1 [L]
>    AddType x-mapp-php5 .php
>
> here is the one in my app folder:
>
>     RewriteEngine on
>     RewriteBase /
>     RewriteRule    ^$    webroot/    [L]
>     RewriteRule    (.*) webroot/$1    [L]
>
> and here is the one in my app/webroot folder:
>
>     RewriteEngine On
>     RewriteBase /
>     RewriteCond %{REQUEST_FILENAME} !-d
>     RewriteCond %{REQUEST_FILENAME} !-f
>     RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
>
>
> >
>

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