【问题标题】:How to convert my Apache .htaccess rewrite rules to lighttpd如何将我的 Apache .htaccess 重写规则转换为 lighttpd
【发布时间】:2014-11-24 22:35:44
【问题描述】:

我希望将此 .htaccess 文件转换为 lighttpd 重写规则,有人可以帮我解决这个问题吗?

Options -MultiViews
DirectoryIndex index.php
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^$ index.php [QSA,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
<IfModule mod_php5.c>
    php_flag display_errors On
</IfModule>

【问题讨论】:

    标签: apache .htaccess lighttpd


    【解决方案1】:

    我会查看从 Apache 迁移的 lighttpd 教程。据我所知,Apache 没有直接映射用于重写。

    http://redmine.lighttpd.net/wiki/1/MigratingFromApache

    【讨论】:

      猜你喜欢
      • 2014-06-30
      • 2016-08-09
      • 2011-04-25
      • 1970-01-01
      • 2018-03-28
      • 2012-07-22
      • 2011-04-16
      • 2021-04-04
      • 2014-01-05
      相关资源
      最近更新 更多