# sumber==> http://www.htaccess-guide.com/

## no list directory
## IndexIgnore * 

## forbiden list directory
Options -Indexes

## mengalihkan ketika terjadi error (sumber => https://www.tecmint.com/apache-htaccess-tricks/)
ErrorDocument 403 /error-page/error-403.html
ErrorDocument 404 /error-page/error-404.html

## Prevent access to php.ini
<FilesMatch "^php5?\.(ini|cgi)$">
Order Deny,Allow 
Deny from All 
Allow from env=REDIRECT_STATUS 
</FilesMatch> 

## DirectoryIndex uses
DirectoryIndex index.html index.php 

## utk rubah http menjadi https, catatan saat localhost harus di remark # (kalau tidak error) sumber ==> https://www.domainesia.com/panduan/panduan-mengarahkan-http-ke-https/
#RewriteEngine On
#RewriteCond %{HTTPS} off
#RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
#RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
#RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Sectigo\ DCV)?$
#RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
