RewriteEngine on

# Permite acesso direto (sem referer) — sem isso, digitar a URL
# direto no navegador ou abrir por favoritos bloqueava TODAS as imagens.
RewriteCond %{HTTP_REFERER} !^$
# Domínio de teste/staging — remover esta linha quando o site
# for definitivo em wexon.com.br e não precisar mais testar aqui.
RewriteCond %{HTTP_REFERER} !^https?://pop\.onlimp\.com\.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://cliente.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://cliente.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^http://cloud.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://cloud.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^http://ginieclean.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://ginieclean.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^http://orafalava.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://orafalava.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^http://pop.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://pop.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^http://wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.cliente.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.cliente.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.cloud.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.cloud.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.ginieclean.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.ginieclean.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.orafalava.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.orafalava.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.pop.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.pop.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^https://cliente.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://cliente.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^https://cloud.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://cloud.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^https://ginieclean.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://ginieclean.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^https://orafalava.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://orafalava.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^https://pop.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://pop.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^https://wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.cliente.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.cliente.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.cloud.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.cloud.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.ginieclean.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.ginieclean.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.orafalava.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.orafalava.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.pop.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.pop.wexon.com.br$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.wexon.com.br/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.wexon.com.br$      [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

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