I have this rewrite rule on my server (live)
<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>

and everything works fine. when i copied the whole site to my local pc using
xampp. i got a 500 internal server error.

the debug error was..

[Thu Mar 08 20:11:34 2007] [error] [client 127.0.0.1] Request exceeded the
limit of 10 internal redirects due to probable configuration error. Use
'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel
debug' to get a backtrace.
[Thu Mar 08 20:11:34 2007] [debug] core.c(3027): [client 127.0.0.1] r->uri =
/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/
[Thu Mar 08 20:11:34 2007] [debug] core.c(3033): [client 127.0.0.1]
redirected from r->uri =
/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/
[Thu Mar 08 20:11:34 2007] [debug] core.c(3033): [client 127.0.0.1]
redirected from r->uri =
/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/
[Thu Mar 08 20:11:34 2007] [debug] core.c(3033): [client 127.0.0.1]
redirected from r->uri =
/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/
[Thu Mar 08 20:11:34 2007] [debug] core.c(3033): [client 127.0.0.1]
redirected from r->uri =
/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/
[Thu Mar 08 20:11:34 2007] [debug] core.c(3033): [client 127.0.0.1]
redirected from r->uri =
/app/webroot/app/webroot/app/webroot/app/webroot/app/webroot/
[Thu Mar 08 20:11:34 2007] [debug] core.c(3033): [client 127.0.0.1]
redirected from r->uri = /app/webroot/app/webroot/app/webroot/app/webroot/
[Thu Mar 08 20:11:34 2007] [debug] core.c(3033): [client 127.0.0.1]
redirected from r->uri = /app/webroot/app/webroot/app/webroot/
[Thu Mar 08 20:11:34 2007] [debug] core.c(3033): [client 127.0.0.1]
redirected from r->uri = /app/webroot/app/webroot/
[Thu Mar 08 20:11:34 2007] [debug] core.c(3033): [client 127.0.0.1]
redirected from r->uri = /app/webroot/
[Thu Mar 08 20:11:34 2007] [debug] core.c(3033): [client 127.0.0.1]
redirected from r->uri = /

What could be wrong?

-- 
Louie Miranda ([EMAIL PROTECTED])
http://www.axishift.com

//JSM-W

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