2010-11-03 37 views
0

中間刪除「.PHP」我想這個地址:阿帕奇重寫模塊:如何在URL

http://www.example.com/account/?a=b&c=d 

在內部使用重寫模塊語法翻譯爲

http://www.example.com/account.php/?a=b&c=d 

在.htaccess文件中。

請幫忙嗎?

感謝,

回答

2
RewriteEngine On 
RewriteRule ^account/ account.php