MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.135.205.26
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/omraysgroup.com/../aaliyadecor.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/omraysgroup.com/../aaliyadecor.com/.htaccess
# Disable Directory Browsing
Options All -Indexes

RewriteEngine On

# Ensure "www" subdomain
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# Check if the request is using HTTPS.
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

ErrorDocument 404 /404.php
# RewriteRule ^index\.html$ index.php [L]
RewriteRule ^about\.html$ about.php [L]
RewriteRule ^policies\.html$ policies.php [L]
RewriteRule ^contact\.html$ contact.php [L]
RewriteRule ^sitemap\.html$ sitemap.php [L]
RewriteRule ^all-locatins\.html$ all-locatins.php [L]
RewriteRule ^services\.html$ services.php [L]
RewriteRule ^project\.html$ project.php [L]
RewriteRule ^([a-zA-Z0-9-]+)$ index.php?loc_slug=$1 [L]
RewriteRule ^([^/]*).html$ service-detail.php?url_link=$1 [L]
RewriteRule ^([^/]*)/([^/]*).html$ service-detail.php?loc_slug=$1&url_link=$2 [L]

# RewriteRule ^service-detail/(.*)\.html$ service-detail.php/$1 [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___lsphp .php .php8 .phtml
  
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
Header always set Content-Security-Policy "upgrade-insecure-requests;"
  

MMCT - 2023