<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /homepage/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /homepage/index.php [L]
</IfModule>
那是我的 .htaccess 代码。我在 homepage/test.php 中创建了新文件,当我从浏览器访问它时,它会出现访问错误,
i have tried by replacing index.php with test.php but it still not working
.
有人可以解释一下这段代码是如何工作的,为什么我的代码不能正常工作。
i have deleted .htaccess but its still not working. What else file it can be.