Hi Parris,

>  > <IfModule mod_rewrite.c>
>  >    RewriteEngine on
>  >         RewriteCond %{HTTP_HOST} !^www\.domain\.com$ [NC]
>  >         RewriteCond %{HTTPS}s ^on(s)|off
>  >         RewriteRule ^(.*)$ http%1://www.domain.com/$1[R=301,QSA,L]
>  >
>  >         RewriteRule    ^$ app/webroot/    [L]
>  >         RewriteRule    (.*) app/webroot/$1 [L]
>  > </IfModule>

I need to accomplish something similar, I don't need to worry about
SSL, but I do have 3 domains, so far I have:

RewriteCond %{HTTP_HOST} !^www.domain1.co.uk$ [NC]
RewriteCond %{HTTP_HOST} !^www.domain2.co.uk$ [NC]
RewriteRule ^(.*)$ http://www.maindomain.co.uk/$1 [R=301,QSA,L]
        
RewriteRule    ^$ app/webroot/    [L]
RewriteRule    (.*) app/webroot/$1 [L]

but this isn't doing anything, except the normal cake rewrite, any ideas?

Cheers,

Jon

-- 

jon bennett
w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

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

Reply via email to