私は現在、 chyrpインストールルーチン.htaccess
によって提供されるファイルをモジュールを介してlighttpdに変換しようとしています。mod_rewrite
ソース.htaccess
ファイルは次のとおりです。
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase {$index}
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.+$ index.php [L]
</IfModule>
ディレクトリレイアウト(webroot)
/chyrp/
/chyrp/includes/
/chyrp/admin/
/chyrp/feathers/
/chyrp/modules/
/chyrp/themes/
私の現在の試み
index-file.names = ( "index.php" )
url.access-deny = ( ".twig" )
#taking care of the directory, check if it is one of the known ones, if so go on
#if it is not, redirect to index
url.rewrite-once = (
"^/(|chyrp/)(admin|themes|feathers|modules|includes)(.*)$" => "/chyrp/$2$3",
"^/(|chyrp/).*/$" => "/chyrp/index.php"
)
#check if files exists, if not rewrite to a index.php in the same directory
url.rewrite-if-not-file = (
"^/(|chyrp/)(admin|themes|feathers|modules|includes)(/(index.php)?(.*))?$" => "/chyrp/$2/index.php$5",
"^/(|chyrp/)(.*)" => "/chyrp/index.php"
)
search
正しく書き換えられない機能(少なくともここでテスト可能:srctwig.com)またはクエリが失われる場所を除いて、ほとんど機能します。検索ルーチン自体は正しく機能します(結果が0のデモ検索)Apache2のchyrp demoで、chyrpの動作デモを確認できます。
私は何が間違っているのですか?