Htaccess File

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

REQUEST_FILENAME, REQUEST_URI
<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]
Exit mobile version