Re: Redirection with 301 for all subdomains with exception

2009-07-08 Thread Willy Tarreau
Hi, On Mon, Jul 06, 2009 at 02:05:09PM +0200, Falco SCHMUTZ wrote: Hello, I m sorry to disturb you again, but some problem persist. This is my final configuration and it works fine : acl es path_beg /es redirect location http://www.newdomain.com/es/marruecos.html code 301 if es acl en

Re: Redirection with 301 for all subdomains with exception

2009-07-03 Thread Falco SCHMUTZ
Hello, I have one question more about redirection : We want to redirect one old domain to the new one with some conditions. We configure some acl like this and it's work fine : acl es path_beg /es redirect location http://www.newdomain.com/es/marruecos.html if es acl en path_beg /en redirect

Re: Redirection with 301 for all subdomains with exception

2009-07-03 Thread Willy Tarreau
On Fri, Jul 03, 2009 at 12:25:46PM +0200, Falco SCHMUTZ wrote: Hello, I have one question more about redirection : We want to redirect one old domain to the new one with some conditions. We configure some acl like this and it's work fine : acl es path_beg /es redirect location

Re: Redirection with 301 for all subdomains with exception

2009-07-03 Thread Falco SCHMUTZ
Sorry, Ok, i do it short, i need just 3 fix redirect in 301: http://www.olddomain.com/es/ - http://www.newdomain.com/es/marruecos.html http://www.olddomain.com/en/ - http://www.newdomain.com/en/morocco.html http://www.olddomain.com/ - http://www.newdomain.com/maroc.html This is use for inform

Redirection with 301 for all subdomains with exception

2009-06-22 Thread Falco SCHMUTZ
Hello everybody, Could you help to fix this configuration ? I need to redirect all sub domains except 5 (admin, pro, www, img*, domain.com without sub domain) to www.domain.com I test this setting, but did not work. acl good_subs url_beg admin pro www img* redirect location www.domain.com 301

Re: Redirection with 301 for all subdomains with exception

2009-06-22 Thread Willy Tarreau
On Mon, Jun 22, 2009 at 08:32:36PM +0200, Falco SCHMUTZ wrote: Hello everybody, Could you help to fix this configuration ? I need to redirect all sub domains except 5 (admin, pro, www, img*, domain.com without sub domain) to www.domain.com I test this setting, but did not work. acl