Right, this made me pull out my hair relentlessly for about 2 hours,
until I finally managed to get this to work. For any of you who have
been forced onto a server which runs Zeus Web Server instead of
Apache, you will know that mod_rewrite doesn't exist, and so, cake
will not work either.

Luckily though, Zeus does have a Request Rewrite functionality, which
is essentially the same as mod_rewrite, but, the syntax is totally
different. You can't place this in .htaccess files, I already tried
and it just doesn't work on my host.

So somewhere, depending on your host, you will need to set the Request
Rewrite to this:

---------------------
map path into SCRATCH:path from /

match URL into $ with /phpmyadmin/
if not matched then
  set SCRATCH:path . /app/webroot/%{URL}

  look for file at %{SCRATCH:path}
  if not exists then
    set URL = /app/webroot/index.php?url=%{URL}
  else
    set URL = /app/webroot/%{URL}
  endif
endif
---------------------

The above will make cake work, and still allow you to have a
phpmyadmin directory alongside cake without cake trying to look for a
phpmyadmin controller.

Enjoy.


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