如何在Apache上启用mod_rewrite? 它看起来像启用,但它不工作
对不起,我不知道我在做什么,我需要你的帮助。 我有一个htaccess文件,做一些URL重写,但它不能在服务器上工作。 我不认为mod_rewrite被启用。 但没有注释掉,phpinfo()表示它是启用的模块之一。 我不知道该怎么办。 请帮忙! 从我的.htaccess文件中: RewriteEngine On RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ – [NC,L] RewriteRule ^.*$ index.php [NC,L] 更新:我在http.conf中把这一行从none改为all: # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo […]