altairsoft/plutos/master/web/.htaccess
AddDefaultCharset utf-8
AddHandler server-parsed .htm .shtml
DirectoryIndex index.html index.php index.htm
ErrorDocument 404 /404.html
ErrorDocument 403 /404.html
RewriteEngine on
# не позволять httpd отдавать файлы, начинающиеся с точки (.htaccess, .svn, .git и прочие)
#RedirectMatch 403 /..*$
# если директория или файл существуют, использовать их напрямую
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# иначе отправлять запрос на файл index.php
RewriteRule . index.php
On Github License
Files
Download PDF of Htaccess file