早教吧作业答案频道 -->英语-->
url重写127.0.0.1/test/index.php?action=product&detail=view&id=8,写成127.0.0.1/test/product/view/8
题目详情
url重写 127.0.0.1/test/index.php?action=product&detail=view&id=8,写成127.0.0.1/test/product/view/8
▼优质解答
答案和解析
采用urlrewrite进行url重写.举个例子:
^/business/([a-z]+)/page/([0-9]+).html$
/html/profession/profession_list.jsp?type=$1&page=$2
^/business/([a-z]+)/page/([0-9]+).html$
/html/profession/profession_list.jsp?type=$1&page=$2
看了url重写127.0.0.1/...的网友还看了以下: