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

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

RewriteEngine On

# All files with .something are skipped
RewriteCond %{REQUEST_URI} ..+$
RewriteCond %{REQUEST_URI} !$
RewriteCond %{REQUEST_URI} !.html$
RewriteCond %{REQUEST_URI} !.xml$
RewriteCond %{REQUEST_URI} !.json$
RewriteRule .* - [L]

# リライト
# URL省略時のIndexFlowへのRewrite
# XXX Indexはリソース指定が無いのでエラーなる!
RewriteRule ^/$ index.php?_c_=api/Rest&_a_=authAndExecute&_deep_=0&_r_=&_o_=xml [QSA,L]
# 標準のRestへのRewrite
RewriteRule (.*)?.(.*)$ index.php?_c_=api/Rest&_a_=authAndExecute&_deep_=0&_r_=$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

Comments

Apache