>
> Hi Simon,
>
> Thanks for the hint, I will try this. I didnt know about the URL
> directive. Where can I read about this?

Just check "man pound", it even has some examples in it.

>
> I tried to use an url-redirect via the webserver but this failed up to now
> as I am not an mod_rewrite / redirect expert.

Well, my problem is always with regex, it takes me so much time to get
something working...

Regards,
Simon

>
> I will give you feedback if it worked like that.
>
> Thanks!!
>
>> Date: Tue, 18 Aug 2009 22:13:41 +0200
>> From: [email protected]
>> To: [email protected]
>> Subject: Re: [Pound Mailing List] Path based routing
>>
>> >
>> > 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.
>
> _________________________________________________________________
> More than messages–check out the rest of the Windows Live™.
> http://www.microsoft.com/windows/windowslive/
>
> --
> To unsubscribe send an email with subject unsubscribe to [email protected].
> Please contact [email protected] for questions.
>



--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.

Reply via email to