Artur116rus/Test-work/master/.htaccess - Htaccess File

Artur116rus/Test-work/master/.htaccess

AddDefaultCharset UTF-8
Options +FollowSymLinks
Options -Indexes
DirectoryIndex index.php
RewriteEngine on
RewriteCond $1 !^(index.php|images|robots.txt|public)
RewriteCond %{REQUEST_URI} !.(css¦js¦jpg¦gif)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L,QSA]
# Блокировка опредленному ip адресу()бан по p
#order allow,deny
#deny from Ваш ip: 127.0.0.1
#allow from all

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache