adebsg/adminUi/master/.htaccess - Htaccess File

adebsg/adminUi/master/.htaccess

#prevent directory listings
Options -Indexes
IndexIgnore */*
 
#follow symbolic links
Options FollowSymlinks

RewriteEngine on

RewriteRule ^adminUi/([^/.]+)/([^/.]+)/?$ /adminUi/_index.php?r=$1&$2 
#RewriteRule ^adminUi/([^/.]+)/([^/.]+)/([^/.]+)/?$ adminUi/index.php?r=$1&$2&$3 [L]

#RewriteCond %{HTTP_HOST} ^dheket.co.id$
#RewriteCond %{REQUEST_URI} !^/
#RewriteCond %{REQUEST_FILENAME} !-f 
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^(.*)$ /$1
#RewriteCond %{HTTP_HOST} ^dheket.co.id$ 

RewriteRule ^(.+)?$ $1

#Deny accessing below extensions
<Files ~ "(.json|.lock|.git)">
  Order allow,deny
  Deny from all
</Files>

#Deny accessing dot files
RewriteRule (^.|/.) - [F]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME, REQUEST_URI

Comments

Apache