On 7 Jan 2012 19h11 WET, nginx-forum@nginx.us wrote:
> I want to set a rewrite rule for redirection of search.php?q=word to
> word.domain.com
> I used the following rule but did not work.
Try:
location ^~ /search.php {
return 301 http://$arg_q.domain.com;
}
--- appa
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx