什么是在vps中创建.htaccess文件的解决方案。我已经尝试过大多数的.htaccess file.but,它在vps中不起作用。解决办法是什么?
这是htaccess文件的代码。
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]这不适用于副总裁。
发布于 2012-01-31 17:39:10
有两个可能的原因:
rewrite (a2enmod rewrite)httpd.conf覆盖应该被允许。(例如将AllowOverride none替换为AllowOverride all)https://webmasters.stackexchange.com/questions/25297
复制相似问题