apache rewrite语句

求一个apache rewrite语句

windows 2003 server + apache 2.x + php5.x + .htaccess文件

问题一:请问下面这句是什么意思?

RewriteRule ^([bfg]=.*) index.php?$1 [L,NE]

问题二:网站是http://www.myname.com:8080/

请问如何做到点击http://www.myname.com:8080/article/54b4c01f-dce0-102a-a4e0-462c07a00c5e.html

可以访问http://www.myname.com:8080/article.php?id=54b4c01f-dce0-102a-a4e0-462c07a00c5e的内容,那个id后面是uuid形式。也就是想做个伪静态。

以下语句好像不管用

RewriteRule ^/([a-zA-Z0-9\-]{36}).html$ /article.php?id=$1




楼主首先确定下RewriteRule能用吗? 写个简单点先测试下。

apache rewrite语句

相关文章:

你感兴趣的文章:

标签云: