Just add this to your root .htaccess file [before the cake bit]
# Overrides
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/?(clickheat)/(.*)$
RewriteRule ^.*$ - [L]
</IfModule>
# Cake rewrites here
# ...
[Obviously you need to change 'clickheat' to the name of your
directory - or use `(clickheat|stats|bacon|eggs)` for multiple
directories]
hth
grigri
On Jan 5, 1:12 pm, "Liebermann, Anja Carolin"
<[email protected]> wrote:
> Hi Marcus,
>
> I guess the proper setup for the whole thing would be to have the
> CakePHP-Website and the other one in parallel folders and not the independent
> one in a subfolder of the Cake-Website
>
> /
> |
> __cakesite
> |
> __other website
>
> Anja
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:[email protected]] Im Auftrag
> von eMarcus
> Gesendet: Montag, 5. Januar 2009 12:00
> An: CakePHP
> Betreff: exclude directory from routing
>
> Hi,
>
> On my cakephp testenvironment, I would like to exclude a specific directory
> from any cakephp rerouting. That directory holds an independent website.
>
> However, when I try to access a page in that directory, cakephp tries to load
> a controller that is called like the directory - which obviously fails....
>
> Is there a way to exclude a directory tree from cake php?
>
> Thanks,
>
> bye
> me.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---