MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.147.27.129
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/activesports.co.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/activesports.co.in/.htaccess
Options +FollowSymLinks

# Disable Directory Browsing
Options All -Indexes

<IfModule mod_deflate.c>
    # Gzip Compression
    AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript
</IfModule>

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]

# Rewrite rules for your specific pages
RewriteRule ^index\.html$ index.php [L]
RewriteRule ^about\.html$ about.php [L]
RewriteRule ^contact\.html$ contact.php [L]
RewriteRule ^services\.html$ services.php [L]
RewriteRule ^sitemap\.html$ sitemap.php [L]
RewriteRule ^project\.html$ project.php [L]
RewriteRule ^certificate\.html$ certificate.php [L]
RewriteRule ^blogs\.html$ blogs.php [L]
RewriteRule ^blog/(.*)\.html$ blog-details.php/$1 [L]
RewriteRule ^service-detail/(.*)\.html$ service-detail.php/$1 [L]
RewriteRule ^policies\.html$ policies.php [L]

# Error document handling
ErrorDocument 404 /404.php

# 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
</IfModule>
# php -- END cPanel-generated handler, do not edit

MMCT - 2023