cangsalak/rzwebsys7/master/app/web/.htaccess - Htaccess File

cangsalak/rzwebsys7/master/app/web/.htaccess

AddDefaultCharset utf-8

php_flag display_errors On

RewriteEngine on

# Редирект без слеша на слеш
RewriteCond %{REQUEST_METHOD} ^GET$
RewriteCond %{REQUEST_URI} !^/admin
RewriteRule ^([^.]+[^./])$  /$1/ [R=301,L]

RewriteBase /

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php
RewriteRule . index.php

On Github License

Files

Download PDF of Htaccess file
GET, REQUEST_FILENAME, REQUEST_METHOD, REQUEST_URI

Comments

Apache