On 1/18/07, 2000Man <[EMAIL PROTECTED]> wrote:
Maybe someone has already solved this? And would this be worth to be a
feature of future Cake-releases?

I had solved that one - some time ago but it was a dirty hack

Change the .htaccess in app/ to

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteRule   ^plugins/$ - [S=3]
   RewriteRule   ^$   webroot/   [L]
   RewriteRule   (.*) webroot/$1   [L]
</IfModule>

so if a URL has plugins skip the next 3 statements

And in the plugins/yourplugin/ have an .htaccess with

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

This is the regular .htaccess found in app/

I don't know the reason but it did not seem like a very good idea or
perhaps even the main .htaccess needed to be changed so I abandoned
it.

But the above should be enough to get you started.

Also the caveat is that your entire app is inside your server's web
document root

HTH
Tarique

--
=============================================================
PHP Applications for E-Biz: http://sanisoft.com
Cheesecake-Photoblog: http://cheesecake-photoblog.org
=============================================================

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