2017-02-01 3 views
0

こんにちは、私はKohanaのベースのスクリプトをインストールしようとしています。しかし、私はエラーが画像どのようにシステムDirecotryを削除するには

Error

では上記参照の取得と私は何をすべきかを検索しませんでしたが存在しません私は、彼らは、ステップ3 実行]インストーラ

OPEを行うと、スクリプトの所有者によると、

SetEnv KOHANA_ENV development 

# Protect hidden files from being viewed 
<Files .*> 
    Order Deny,Allow 
    Deny From All 
</Files> 


# Disable directory listing 
Options -Indexes 


<IfModule mod_rewrite.c> 

# Turn on URL rewriting 
RewriteEngine On 

# Installation directory 
RewriteBase/

# Protect hidden files from being viewed 
<Files .*> 
    Order Deny,Allow 
    Deny From All 
</Files> 


# Protect application and system files from being viewed 
RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L] 

# Allow any files or directories that exist to be displayed directly 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 

# Rewrite all other URLs to index.php/URL 
# RewriteRule .* index.php/$0 [PT] 
RewriteRule .* index.php [PT] 

# Remove trailing slash 
# RewriteRule ^(.*)\/(\?.*)?$ $1$2 [R=301,L] 
# RewriteRule ^(.+)/$ /$1 [R=301,L] 
# RewriteCond %{REQUEST_FILENAME} !-d 
# RewriteRule ^(.+)/$ $1 [L,R=301] 

</IfModule> 

<IfModule mod_php5.c> 
    php_value magic_quotes_gpc    0 
    php_value register_globals    0 
    php_value session.auto_start    0 
    php_value mbstring.http_input    pass 
    php_value mbstring.http_output   pass 
    php_value mbstring.encoding_translation 0 
</IfModule> 

を.htaccessファイルに関連しているスー・アムn個の.htaccessとmake次のように変更:

は正しいでRewriteBase

を設定しますが、私は何を書くために、どのようなことで編集するために、私はそれ

+0

画面にディスクのエラーが表示され、間違ったWeb設定ではありません。 – bato3

答えて

1

エラー手段の上に少しの助けを必要とするかわかりませんapplicationmodulessystemのフォルダがindex.phpと同じディレクトリにないことを確認してください。移動/名前を変更した場合は、住所をindex.phpに変更する必要があります。

偶然に何かを削除/変更した場合、Kohanaをもう一度ダウンロードしてください。明らかにエラーは.htaccessとは関係ありません。 詳細については、文書をお読みくださいhttps://kohanaframework.org/3.3/guide/kohana/install

関連する問題