0
这是我目前的.htaccess文件: (它运行在我的个人WAMP服务器上,并且Mod_Rewrite在我的。服务器)我的mod_rewrite规则是错误的,我似乎无法弄清楚如何编写它为我工作
<IfModule mod_rewrite.c>
Options +FollowSymLinks
Options +Indexes
RewriteEngine On
RewriteBase /rdypages/
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ /rdypages/index.php?company=$1&page=$2
</IfModule>
我/rdypages/index.php文件是设计来寻找在quesystring以下参数: 公司和页面。下面是一个例子地址:
http://localhost:8888/rdypages/index.php?company=test&page=test.htm
,这是我想它是什么样子:
http://localhost:8888/rdypages/test/test.htm
我应该我的.htaccess文件的重写规则说? 感谢