a9b/php-unext/master/.htaccess - Htaccess File

a9b/php-unext/master/.htaccess

RewriteEngine ON

# index.phpに全部の処理を貼り付ける
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/ [QSA,NS,L]

# 指定サブディレクトリ以下にアクセスを禁止
RewriteRule vendor/(.*) index.php/ [QSA,NS,L]
RewriteRule templates/(.*) index.php/ [QSA,NS,L]
RewriteRule var/(.*) index.php/ [QSA,NS,L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache