Hi all,
I'm trying to get my head round the best way to use the same CakePHP
App code for multiple clients, & the best way I can think of is to
have a client identifier at the beginning of the path for the app, &
use rewrites/custom routes to facilitate this.

So far I have added the following rule to the .htaccess file for the
app, which extracts the client identifier out to a query string
element...

  RewriteRule   (test)(/.*)  $2?client=$1 [QSA,N]

... but now I need to work out how to make sure the app adds this
identifier back on to the beginning of any URL generated by Cake.

Any clues on how I might do this?  Not too hot with playing with
routes yet.

Thanks,

T

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to