在codeigniter上的apt to lighttpd mod_rewrite

时间:2014-09-22 15:34:17

标签: apache .htaccess codeigniter mod-rewrite lighttpd

我现在在codeigniter上,但是当我将服务器从Apache更改为Lighttpd时,我遇到了一些问题。

我将此片段用于我的.htacces

<IfModule mod_rewrite.c>
  RewriteEngine On
  # !IMPORTANT! Set your RewriteBase here and don't forget trailing and leading
  #  slashes.
  # If your page resides at
  #  http://www.example.com/mypage/test1
  # then use
  # RewriteBase /mypage/test1/

  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?/$1 [L]

</IfModule>

请帮我解释如何将其转换为lighttp mod_rewrite。干杯!

0 个答案:

没有答案