# RewriteEngine On
RewriteEngine On

# Redirect to HTTPS
RewriteCond %{HTTP_HOST} ^ap.appsqueens\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://ap.appsqueens.com/$1 [R,L]

#Legacy from old .htaccess
RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?act=$1
RewriteRule ^([a-zA-Z0-9_-]+)/$ index.php?act=$1

# 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
