Inakimalerba/inakimalerba.github.io/master/panel/.htaccess - Htaccess File

Inakimalerba/inakimalerba.github.io/master/panel/.htaccess

<Files ~ "^.(htaccess)$">
deny from all
</Files>
ErrorDocument 403 403.html
ErrorDocument 404 404.html
DirectoryIndex login/       
order deny,allow

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^/]+)/$ $1.html
RewriteRule ^([^/]+)/([^/]+)/$ /$1/$2.html
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !(.[a-zA-Z0-9]{1,5}|/)$
RewriteRule (.*)$ /$1/ [R=301,L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache