> > Hi, > > I have URLs http://example.com/images and http://example.com/scripts and I > have http://example.com. > > Now I want to redirect http://example.com/images and /scripts to Server 1, > http://example.com to Server 2 in a transparent way. > > I tried: > > HeadRequire ".*(example.com/images|example.com/scripts.*" > HeadDeny ".*example.com.*" >
I'm no expert and I also never did what you try but my idea was to define to services. And I think you should use the Url directive? Maybe something like this: Url "/(images|scripts)/.*" HeadRequire "Host:.*example.com.*" And then a second service as a fallback which will handle all dirs except images and scripts. Regards, Simon -- To unsubscribe send an email with subject unsubscribe to [email protected]. Please contact [email protected] for questions.
