# Optional: force HTTPS:
#
# RewriteEngine On
# RewriteCond %{HTTPS} off
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
#
# To hide directory listing
Options All -Indexes
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/public [NC]
RewriteRule (.*) [[softurl]]/public/$1 [L,R=301]