
RewriteEngine on

# Ajoute par moi: 
#------------------------------------------------------------------
#<IfModule mod_headers.c>
#  # Autorise un domaine specifique a faire des requetes XMLHTTP
#  Header set Access-Control-Allow-Origin "https://mkjcind.com"
#  
#  # Methode HTTP autorisees
#  Header set Access-Control-Allow-Methods "GET, POST, OPTIONS, PUT, DELETE"
#  
#  # En-tetes acceptes dans la requete
#  Header set Access-Control-Allow-Headers "Content-Type, Authorization, X-Requested-With"
#</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/mkjcind1/logs/php.error.log"
   php_flag log_errors On
</IfModule>
<IfModule lsapi_module>
   php_value error_log "/home/mkjcind1/logs/php.error.log"
   php_flag log_errors On
</IfModule>
# END cPanel-generated php ini directives, do not edit
RewriteCond %{HTTP_HOST} ^discipline\.mkjcind\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.discipline\.mkjcind\.com$
RewriteRule ^/?$ "http\:\/\/mkjcind\.com\/discipline\/" [R=301,L]

# 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
