Hi everyone,

A quick one for those of you who've got your hands dirty in routing
before.

Need to redirect:
{env}.api.website.com/*    to    {env}.website.com/srvc/*

where {env} is the environment such as dev, testing, uat or www

So far I see two options:
1) Do the whole thing in .htaccess or apache site configuration.  This
option is preferred but requires apache mod-rewrite knowhow ( which I
don't have )
2) Redirect {env}.api.website.com to {env}.website.com  and do the
rest in the routing of CakePHP.

Would like to know your opinion on  which option's better, and if you
have done this before a hand with  the rewrite rules would be much
appreciated.

Thanks,
Shuku

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