RewriteEngine On

# disable TRACK and TRACE http methods. 'RewriteEngine On' is required!
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
RewriteRule ^authorize-iframe-communicator\.html$ index.php?controller=pjAuthorize&action=pjActionIframeCommunicator [L,NC,QSA]
Options -Indexes
ServerSignature Off
<ifModule mod_headers.c>
	Header unset X-Powered-By
</ifModule>

<IfModule php5_module>
#	php_value session.cookie_httponly true
</IfModule>

<FilesMatch "\.(ttf|otf|woff|eot|woff2|woff2)$">
  <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
  </IfModule>
</FilesMatch>

#Khuetech
RewriteRule ^receipt-([0-9]+).html$ index.php?controller=pjKiosk&action=pjActionOrderCustomer&id=$1
RewriteRule ^er-([a-zA-Z0-9_-]+)$ index.php?controller=pjKiosk&action=pjActionOrderCustomer&id=$1
RewriteRule ^kiosk-sdp.printer(.*) index.php?controller=pjKiosk&action=pjActionSDPPublic$1 [L]

<IfModule mime_module>
  AddHandler application/x-httpd-ea-php74___lsphp .php .php7 .phtml
</IfModule>