歡迎您光臨本站 註冊首頁

apache rewrite規則的問題

←手機掃碼閱讀     火星人 @ 2014-03-03 , reply:0

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

問題一:請問下面這句是什麼意思?
RewriteRule ^(=.*) index.php?$1


問題二:
請問如何做到點擊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 ^/({36}).html$ /article.php?id=$1

[火星人 ] apache rewrite規則的問題已經有336次圍觀

http://coctec.com/docs/service/show-post-845.html