Options -Indexes -MultiViews
RewriteEngine On
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
RewriteRule ^Lottery/([A-Za-z0-9_-]+)$ Lottery/index.php?action=$1 [QSA,L]

<IfModule mod_headers.c>
  Header set Cache-Control "no-cache, no-store, must-revalidate, max-age=0"
  Header set Pragma "no-cache"
  Header set Expires "0"
</IfModule>

<FilesMatch "\.(sql|ini|log|bak|env)$">
  Require all denied
</FilesMatch>
