Thank you Maxim. :)
Is there a way to skip the IF with try_files and still having a 301
footprint?
Something like:
try_files /beta/info/$arg_id/ =404;
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,240299,240302#msg-240302
___
nginx mailing l
Hello!
On Mon, Jun 24, 2013 at 08:58:29AM -0400, TECK wrote:
> Hello everyone,
>
> I'm currently using Nginx 1.4.1 on CentOS 6.4 64bits and trying to perform a
> redirect of this type:
> location /alpha {
> location ~ ^/alpha/script.+([\d]+)$ {
> return 301 /beta/info/$1/;
> }
>
Hello everyone,
I'm currently using Nginx 1.4.1 on CentOS 6.4 64bits and trying to perform a
redirect of this type:
location /alpha {
location ~ ^/alpha/script.+([\d]+)$ {
return 301 /beta/info/$1/;
}
}
The originating location is /alpha/script.php?id=328.
The redirected location