RewriteRule ^(.*)$ public/$1 [NC,L]
#AuthType Basic
#AuthName "www"
#AuthUserFile "/home/kingshill/.htpasswds/public_html/passwd"
#require valid-user

<filesMatch ".(jpg|jpeg|png|gif|ico)$">
Header set Cache-Control "max-age=31536000, public"
</filesMatch>
# One month for css and js

# <filesMatch ".(css|js)$">
# Header set Cache-Control "max-age=2628000, public"
# </filesMatch>

# <filesMatch ".(html|php)$">
# Header set Cache-Control "max-age=6000, public"
# </filesMatch>


RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php72” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php72 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
