#suPHP_ConfigPath /home/kuching3/public_html/beta
DirectoryIndex index.htm index.html index.php
Options -Indexes

Header set X-XSS-Protection "1; mode=block"
Header set X-Content-Type-Options nosniff
Header always append X-Frame-Options SAMEORIGIN

AddDefaultCharset UTF-8
DefaultLanguage en-us

#php_flag display_startup_errors on
#php_flag display_errors off
#php_flag html_errors on
#php_flag log_errors on
#php_value error_log  /home/hotelcom/grocere.com.my/errors.log

#RewriteEngine On
#RewriteCond %{HTTPS} !=on
#RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] 


RewriteRule ^home?$ index.php [QSA,L]
RewriteRule ^contact_us?$ contact_us.php [QSA,L]
RewriteRule ^news?$ news.php [QSA,L]
RewriteRule ^vehicles?$ index.php [QSA,L]
RewriteRule ^vehicles/([^/\.]+)?$ index.php?c=$1 [QSA,L]
RewriteRule ^vehicles/([^/\.]+)/([^/\.]+)?$ index.php?c=$1&cat=$2 [QSA,L]
RewriteRule ^vehicle_details/([^/\.]+)?$ vehicle_details.php?id=$1 [QSA,L]
RewriteRule ^page/([^/\.]+)?$ page.php?t=$1

RewriteRule ^thank_you?$ booking_done.php [QSA,L]

RewriteRule ^the_order/([^/\.]+)?$ order_details.php?i=$1
RewriteRule ^the_order/([^/\.]+)/([^/\.]+)?$ order_details.php?i=$1&t=$2
RewriteRule ^the_order/([^/\.]+)/([^/\.]+)/staff?$ order_details.php?i=$1&t=$2&s=1


RewriteRule ^tour_countries?$ tour_countries.php [QSA,L]
RewriteRule ^tours?$ tours.php [QSA,L]
RewriteRule ^tours/([^/\.]+)?$ tours.php?country=$1 [QSA,L]
RewriteRule ^tours/([^/\.]+)/([^/\.]+)?$ tours.php?country=$1&state=$2 [QSA,L]
RewriteRule ^tours/([^/\.]+)/([^/\.]+)/([^/\.]+)?$ tours.php?country=$1&state=$2&city=$3 [QSA,L]
RewriteRule ^tour_details/([^/\.]+)?$ tour_details.php?tour=$1 [QSA,L]
