> > www.blog-domain.com is a mirror of www.domain.com/blog
> >
> > is that possible?
>
> It would be far easier to configure blog-domain.com to live on another
> VirtualHost than to try to integrate the redirect and the cake site on
> 1 virtual host.
>
> This VirtualHost config just contains a Redirect:
>
> Redirect / http://www.domain.com/blog/

I've been talking to the host, and they won't do:

VirtualHost *
ServerName www.domaintwo.co.uk
DocumentRoot /www/path/to/domainone.co.uk/blog
VirtualHost

basically, they don't allow anything other than a standard alias, so,
back to the drawing board!

A colleage of mine had originally tried:

RewriteCond %{HTTP_REFERER} ^http://(www.)?blogdomain.com [NC]
RewriteRule (.*) http://www.domain.com/blog/$1 [R=301,L]

which worked, except we had no CSS or images, anyone got any ideas how
I can get them working?

thanks,

Jon

-- 


jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

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