|
情况是这样的:
1、在 /aaa 目录里边有一个 bbb.php 文件。
2、在 /aaa 目录里还有一个 .htaccess 文件。
.htaccess 中的内容:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?query=$1 [L,QSA]
AcceptPathInfo Off
3、我在浏览器中输入:
http://localhost/aaa/bbb/0xSJbmZa06pVsEXW
却返回下边这些:
Not FoundThe requested URL /aaa/bbb.php/0xSJbmZa06pVsEXW was not found on this server.
Apache/2.2.12 (Ubuntu) Server at localhost Port 80
我的问题是,这个bbb怎么就加上了一个.php扩展名呢?
如果我想去掉这个自动添加上的扩展名,该用哪个选项去设置呢? |
|