FileETag None Header unset ETag Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" Header set Pragma "no-cache" Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT" Options -Indexes Options +FollowSymLinks RewriteEngine on #-- [BEGIN] Redirect all but the IP address #RewriteCond %{REMOTE_ADDR} !=96.41.14.186 #RewriteCond %{REQUEST_URI} !\.(jpg|png|css|js)$ #RewriteRule ^([_a-zA-Z0-9\-\.\/]*)$ notice-board/site-maintenance.php?rtp=$1 [L,QSA] #-- [END] Redirect all but the IP address #-- [BEGIN] Ban PATH_INFO RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule (.*)\.php\/ / [F] #-- [END] Ban PATH_INFO #-- [BEGIN] Ban access to include files RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule (.*)\.inc\.php$ / [F] #-- [END] Ban access to include files #-- [BEGIN] Ban access to class files RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule (.*)\.class\.php$ / [F] #-- [END] Ban access to include files #-- [BEGIN] routing path #-- [L]=Last, [QSA]=Query String Appended RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule ^([_a-zA-Z0-9\-\.\/]*)$ index.php?rtp=$1 [L,QSA] #-- [END] routing path RewriteCond %{HTTP_HOST} ^makemycontest\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.makemycontest\.com$ RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule ^public_html\/makemycontest\.com\/?(.*)$ "https\:\/\/makemycontest\.com\/$1" [R=301,L]