rewrite ^/index.html$ /index.php;
rewrite ^/user/login.htm$ /user/login.php;
rewrite ^/reg.htm$ /reg.php;
rewrite ^/user/register.htm$ /user/register.php;
rewrite ^/user/repaword.htm$ /user/repaword.php;
rewrite ^/yflist-(.*).htm$ /list.php?catid=$1;
rewrite ^/([0-9]+)$ /reg.php?pid=$1;
rewrite ^/ylist-y-(.*)-f-(.*)-h-(.*)-x-(.*)-y-(.*).htm$ /list.php?catid=$1&sort=$2&sp=$3&ep=$4&page=$5;
rewrite ^/yfview-h-(.*)-x-(.*)-y-(.*).htm$ /view.php?num_iid=$1&kfx=$2&xsl=$3;
rewrite ^/slist-y-(.*)-f-(.*).htm$ /list.php?catid=$1&sort=$2;
rewrite ^/mlist-y-(.*)-f-(.*)-h-(.*)-x-(.*).htm$ /list.php?catid=$1&sort=$2&sp=$3&ep=$4;
rewrite ^/searchkey-y-(.*)-f-(.*)-x-(.*).htm$ /search.php?q=$1&catid=$2&sort=$3;
rewrite ^/msearchkey-y-(.*)-f-(.*)-h-(.*)-x-(.*)-y-(.*).htm$ /search.php?q=$1&catid=$2&sort=$3&sp=$4&ep=$5;
rewrite ^/yfgotoshop-(.*).htm$ /gotoshop.php?id=$1;
rewrite ^/yfsearchkey-y-(.*)-f-(.*).htm$ /search.php?q=$1&catid=$2;
rewrite ^/yarticle-(.*).htm$ /article.php?id=$1;
rewrite ^/artlist.htm$ /artlist.php;
rewrite ^/hot.htm$ /hot.php;
rewrite ^/huangguan.htm$ /huangguan.php;
rewrite ^/man.htm$ /man.php;
rewrite ^/lady.htm$ /lady.php;
rewrite ^/neiyi.htm$ /neiyi.php;
rewrite ^/beauty.htm$ /beauty.php;
rewrite ^/meirong.htm$ /meirong.php;
rewrite ^/shuma.htm$ /shuma.php;
rewrite ^/home.htm$ /home.php;
rewrite ^/mother.htm$ /mother.php;
rewrite ^/food.htm$ /food.php;
rewrite ^/out.htm$ /out.php;
rewrite ^/taiwan.htm$ /taiwan.php;
rewrite ^/dianqi.htm$ /dianqi.php;
rewrite ^/about.htm$ /about.php;
rewrite ^/map.htm$ /map.php;
rewrite ^/fly.htm$ /fly.php;
rewrite ^/mail.htm$ /mail.php;
rewrite ^/mian.htm$ /mian.php;
rewrite ^/help.htm$ /help.php;
rewrite ^/hotel/index.html$				 /hotel/index.php last;
rewrite ^/hotel/hotel-(.*).htm$ /hotel/index.php?m=hotelinfo&hotel_id=$1;
rewrite ^/hotel/liansuo.htm$			 /hotel/index.php?m=liansuo;
rewrite ^/hotel/allcity.htm$			 /hotel/index.php?m=allcity;
rewrite ^/hotel/comment.htm$			 /hotel/index.php?m=comment;
rewrite ^/hotel/question.htm$			 /hotel/index.php?m=question;
rewrite ^/hotel/map.htm$			 /hotel/index.php?m=map;
rewrite ^/hotel/news.htm$			 /hotel/index.php?m=news;
rewrite ^/hotel/special.htm$		/hotel/index.php?m=special
 /;
rewrite ^/hotel/lable.htm$			 /hotel/index.php?m=lable;
rewrite ^/hotel/weather.htm$			 /hotel/index.php?m=weather;
rewrite ^/hotel/([a-zA-Z0-9_]+).htm$			 /hotel/index.php?m=$1 last;
rewrite ^/hotel/weather-([0-9]+)-([0-9]+).htm$		 /hotel/index.php?m=weather&cityid=$1&xid=$2 last;
rewrite ^/hotel/news-c([0-9]+)-([0-9]+).htm$		 /hotel/index.php?m=news&class_id=$1&page=$2 last;
rewrite ^/hotel/news-c([0-9]+).htm$			 /hotel/index.php?m=news&class_id=$1 last;
rewrite ^/hotel/newsinfo-([0-9]+).htm$			 /hotel/index.php?m=newsinfo&aid=$1 last;
rewrite ^/hotel/liansuo-([0-9]+)-([0-9]+).htm$		 /hotel/index.php?m=liansuohotel&cityid=$1&chain_id=$2 last;
rewrite ^/hotel/liansuo-([a-zA-Z_]+)-([0-9]+).htm$	 /hotel/index.php?m=liansuohotel&$1=$2 last;
rewrite ^/hotel/city-([0-9]+).htm$			 /hotel/index.php?m=city&cityid=$1 last;
rewrite ^/hotel/hotel-([0-9]+)-([0-9]+).htm$		 /hotel/index.php?m=hotelinfo&cityid=$1&hotel_id=$2 last;
rewrite ^/hotel/(hotelmap|hotelcomment|hotelnearby|hotelpicture|hotelquestion|hotellable)-([0-9]+).htm$	/hotel/index.php?m=$1&hotel_id=$2 /[L];
rewrite ^/hotel/(comment|question|weather|searchlist)-([0-9]+)-([0-9]+).htm$	 /hotel/index.php?m=$1&cityid=$2&page=$3 last;
rewrite ^/hotel/hotellist-([0-9]+)=(.*)$		 /hotel/index.php?m=hotellist&cityid=$1&key=$2 last;
rewrite ^/hotel/(comment|question|weather|map|hotellist|searchlist)-([0-9]+).htm$	 /hotel/index.php?m=$1&cityid=$2 last;
rewrite ^/hotel/lable-cityid([0-9]+)-([0-9]+)-([0-9]+).htm$	/hotel/index.php?m=lable&cityid=$1&classid=$2&page=$3 /[L];
rewrite ^/hotel/lable-(pid|cityid)([0-9]+)-([0-9]*).htm$	 /hotel/index.php?m=lable&$1=$2&classid=$3 last;
rewrite ^/hotel/lable-([0-9]+).htm$				/hotel/index.php?m=lable&classid=$1 /[L];
rewrite ^/hotel/admin$		 /hotel/index.php?m=admin last;
