# AuthType Basic
# AuthName "Acesso restrito"
# AuthUserFile "/home/jfhotelc/.htpasswd"
# Require valid-user


# Painel JF Hotel V2: mantém o endereço raiz e entrega os arquivos da subpasta.
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^$ painel_jfhotel_v2/index.php [L,QSA]
    RewriteRule ^index\.php$ painel_jfhotel_v2/index.php [L,QSA]
    RewriteRule ^(ASSETS|API)(/.*)?$ painel_jfhotel_v2/$1$2 [L]
    RewriteRule ^mesclar_classificacoes\.php$ painel_jfhotel_v2/mesclar_classificacoes.php [L,QSA]
</IfModule>

# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php8_module>
   php_value error_log "/home/jfhotelc/logs/php.error.log"
   php_flag log_errors On
</IfModule>
<IfModule lsapi_module>
   php_value error_log "/home/jfhotelc/logs/php.error.log"
   php_flag log_errors On
</IfModule>
# END cPanel-generated php ini directives, do not edit

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