could somebody convert this .htaccess to NGINX rewrite,,?
lhmwzy
lhmwzy at gmail.com
Mon Apr 12 09:49:23 MSD 2010
if($host ~* ^www.(.+)$)
{
set $sub_name $1;
rewrite ^ http://$1$request_uri
}
right?
2010/4/12 escavern <nginx-forum at nginx.us>:
> could somebody convert this .htaccess to NGINX rewrite,,??
>
> RewriteEngine on
> RewriteCond %{HTTP_HOST} ^www\.(.+)$
> RewriteRule ^(.*)$ http://%1/$1
>
> i u could,, u're the best !
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,73989,73989#msg-73989
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
More information about the nginx
mailing list