atarun/web/master/lib/FrameworkManager/template/managedocs/.htaccess - Htaccess File

atarun/web/master/lib/FrameworkManager/template/managedocs/.htaccess

RewriteEngine On

# PHP側でRewriteRuleを参照出来るようにする
SetEnv RewriteRule '([^+]*)?.(.*)$ index.php?_c_=$1&_o_=$2'
SetEnv ReverseRewriteRule '?_c_=([^+]*)?&_o_=(.*) ./$1.$2'

RewriteCond %{REQUEST_URI} $
RewriteCond %{REQUEST_URI} $
RewriteRule assets/(.*) static/assets/$1 [QSA,L]

# All files with .something are skipped
RewriteCond %{REQUEST_URI} ..+$
RewriteCond %{REQUEST_URI} !$
RewriteCond %{REQUEST_URI} !.html$
RewriteCond %{REQUEST_URI} !.xml$
RewriteCond %{REQUEST_URI} !.json$

# リライト
# URL省略時のIndexFlowへのRewrite
RewriteRule ^/$ index.php?_c_=Index&_o_=html [QSA,L]
# FlowへのRewrite
RewriteRule ([^+]*)?.(.*)$ index.php?_c_=$1&_o_=$2 [QSA,L]

php_flag mbstring.encoding_translation off
php_value mbstring.http_input pass
php_value mbstring.internal_encoding UTF-8

# エラーの表示設定
# 全てのエラーを非表示
#php_value error_reporting 1
# 以下はPHP5環境用
php_value error_reporting 24575

On Github License

Files

Download PDF of Htaccess file
REQUEST_URI, static

Comments

Apache