Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/184.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mod rewrite mod_rewrite-如何重写URL?_Mod Rewrite_Apache2 - Fatal编程技术网

Mod rewrite mod_rewrite-如何重写URL?

Mod rewrite mod_rewrite-如何重写URL?,mod-rewrite,apache2,Mod Rewrite,Apache2,有没有办法重写像这样的URL 在 在Apache2中使用mod_rewrite RewriteRule /products/([0-9]+)/([a-z]+) /getProduct.php?id=$1&mode=$2 有关更多信息,请在谷歌上搜索mod_重写教程 有关更多信息,请在谷歌上搜索mod_rewrite教程。Joel没有写过这方面的文章吗?“如果你一直看到同样形式的问题,这是否是mod_重写服务器故障规则”哦,他现在一定感觉到了理由。Joel没有写一篇关于这一点的文章吗

有没有办法重写像这样的URL

在Apache2中使用
mod_rewrite

RewriteRule /products/([0-9]+)/([a-z]+) /getProduct.php?id=$1&mode=$2
有关更多信息,请在谷歌上搜索mod_重写教程


有关更多信息,请在谷歌上搜索mod_rewrite教程。

Joel没有写过这方面的文章吗?“如果你一直看到同样形式的问题,这是否是mod_重写服务器故障规则”哦,他现在一定感觉到了理由。Joel没有写一篇关于这一点的文章吗?“如果你一直看到同样形式的问题,是否是mod_重写服务器故障规则”哦,他现在一定感觉到了理由。