Hi all,
I test to rewrite the sub-domain in [b]/etc/nginx/site-available/default[/b] and I would know if exist a function for add GET argument ?
For example :
[code]
if( $host ~* "(.*)\.[a-zA-Z0-9_-]*\.[a-zA-Z]{2,4}" )
{
addGet sd $1;
}
[/code]
This code add "?sd=$1" or "&sd=$1" (if there are already arguments GET before or not)
If not exist how can I do for write this function (or code who make the same ?)
Thank you and sorry for my english (I'm french :p)
Edited 1 time(s). Last edit at 08/20/2009 08:41AM by CactO_o's.