<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index1.php/$1 [QSA,PT,L]
</IfModule>
当我把重定向文件.htaccess故意写错,将index.php改 成index1.php,当但是当我在浏览器运行:
http://localhost/tp5.0.8/public也是可以正常运行
但当我用pathinfo模式去运行时,报500错误,请问这个是回事?
请先搞清楚apache和php的关系