vovmog/ToDo/master/.htaccess - Htaccess File

vovmog/ToDo/master/.htaccess

# DO NOT REMOVE THIS LINE AND THE LINES BELOW ERRORPAGEID:yBuXaL
#Защищаем .htaccess файл

 <files .htaccess="">
order allow,deny
deny from all
 </files>

 Options +FollowSymLinks
 IndexIgnore */*
 RewriteEngine on

 # 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

ErrorDocument 404 /404.html
# DO NOT REMOVE THIS LINE AND THE LINES ABOVE yBuXaL:ERRORPAGEID
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html .phtml
AddCharset UTF-8 .html
php_value date.timezone 'Europe/Kiev'

# Do not remove this line or mod_rewrite rules and search engine friendly URLs will stop working
RewriteBase /

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache