我index.php只有一条线
<?php echo $_GET['a']; ?>
如果我输入url:
http://localhost/test/?a=abc.....
我明白了
abc.....
但是如果我创建.htaccess并编写:
RewriteEngine on
RewriteRule ^([a-z]+)$ ?a=$1
如果我输入url:
http://localhost/test/abc.....
我只得到abc(没有点.....)
为什么会这样?
我想获得一个404 errorifabc.....字符串已发送。我怎样才能归档这个?