Re: rewritting headers on the fly using CORS

2014-12-02 Thread Charles Bijon
Le 29/11/2014 01:09, Willy Tarreau a écrit : Hi Charles, On Fri, Nov 28, 2014 at 03:09:05PM +0100, Charles Bijon wrote: Hi, I wonder if when using the header rewrite for CORS if - we can simplify keeping the origin in a variable on the fly and of course with a list of acl for accept this

rewritting headers on the fly using CORS

2014-11-28 Thread Charles Bijon
Hi, I wonder if when using the header rewrite for CORS if - we can simplify keeping the origin in a variable on the fly and of course with a list of acl for accept this domain or - that one is forced to use a different backend to each domain. example: in the backend using : rspadd

Re: rewritting headers on the fly using CORS

2014-11-28 Thread Baptiste
On Fri, Nov 28, 2014 at 3:09 PM, Charles Bijon bijon.char...@gmail.com wrote: Hi, I wonder if when using the header rewrite for CORS if - we can simplify keeping the origin in a variable on the fly and of course with a list of acl for accept this domain or - that one is forced to use a

Re: rewritting headers on the fly using CORS

2014-11-28 Thread Charles Bijon
Le 28/11/2014 16:13, Baptiste a écrit : On Fri, Nov 28, 2014 at 3:09 PM, Charles Bijon bijon.char...@gmail.com wrote: Hi, I wonder if when using the header rewrite for CORS if - we can simplify keeping the origin in a variable on the fly and of course with a list of acl for accept this domain

Re: rewritting headers on the fly using CORS

2014-11-28 Thread Willy Tarreau
Hi Charles, On Fri, Nov 28, 2014 at 03:09:05PM +0100, Charles Bijon wrote: Hi, I wonder if when using the header rewrite for CORS if - we can simplify keeping the origin in a variable on the fly and of course with a list of acl for accept this domain or - that one is forced to use a