403Webshell
Server IP : 80.211.21.168  /  Your IP : 216.73.216.144
Web Server : Apache
System : Linux alex-webdesign.it 3.10.0-1160.119.1.el7.tuxcare.els22.x86_64 #1 SMP Mon Aug 18 06:07:12 UTC 2025 x86_64
User : admin_japan ( 10003)
PHP Version : 8.2.32
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/cerchijapan.it/httpdocs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/cerchijapan.it/httpdocs/.htaccess
# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# https://www.prestashop.com - https://www.prestashop.com/forums

<IfModule mod_rewrite.c>
<IfModule mod_env.c>
SetEnv HTTP_MOD_REWRITE On
</IfModule>

RewriteEngine on
 # Blocca il bot claudebot@anthropic.com
    RewriteCond %{HTTP_USER_AGENT} "claudebot@anthropic\.com" [NC]
    RewriteRule .* - [F,L]

    # Blocca il bot +claudebot@anthropic.com
    RewriteCond %{HTTP_USER_AGENT} "\+claudebot@anthropic\.com" [NC]
    RewriteRule .* - [F,L]
# 410 Gone per qualunque richiesta con "order=product.*" (es: product.position.asc, product.name.desc, ecc.)
RewriteCond %{QUERY_STRING} (?:^|[&;])order=product\.[^&;]*?(?:$|[&;]) [NC]
RewriteRule ^ - [G]

	# Blocca il bot https://developer.amazon.com/support/amazonbot
    RewriteCond %{HTTP_USER_AGENT} "https:\/\/developer\.amazon\.com\/support\/amazonbot" [NC]
    RewriteRule .* - [F,L]

    # Blocca il bot +https://developer.amazon.com/support/amazonbot
    RewriteCond %{HTTP_USER_AGENT} "\+https:\/\/developer\.amazon\.com\/support\/amazonbot" [NC]
    RewriteRule .* - [F,L]
 
# Blocca il bot +http://www.apple.com/go/applebot
    RewriteCond %{HTTP_USER_AGENT} "\+http:\/\/www\.apple\.com\/go\/applebot" [NC]
    RewriteRule .* - [F,L]

# Copre %2F e %252F (double-encoded)
RewriteCond %{QUERY_STRING} (?:%(?:25)?2F.*){1,} [NC]

# 403 Forbidden
RewriteRule ^ - [F,L]


    # Blocca il bot http://www.apple.com/go/applebot
    RewriteCond %{HTTP_USER_AGENT} "http:\/\/www\.apple\.com\/go\/applebot" [NC]
    RewriteRule .* - [F,L]
	# Blocca il bot +http://www.apple.com/go/applebot
    RewriteCond %{HTTP_USER_AGENT} "\+http:\/\/www\.senuto\.com" [NC]
    RewriteRule .* - [F,L]

    # Blocca il bot http://www.apple.com/go/applebot
    RewriteCond %{HTTP_USER_AGENT} "http:\/\/www\.senuto\.com" [NC]
    RewriteRule .* - [F,L]
	 # Blocca il bot +http://www.google.com/bot.html
   # RewriteCond %{HTTP_USER_AGENT} "\+http:\/\/www\.google\.com\/bot\.html" [NC]
     #  RewriteRule .* - [F,L]

    # Blocca il bot http://www.google.com/bot.html
     #RewriteCond %{HTTP_USER_AGENT} "http:\/\/www\.google\.com\/bot\.html" [NC]
     #RewriteRule .* - [F,L]
# Blocca il bot +https://bot.seekport.com
RewriteCond %{HTTP_USER_AGENT} "\+https:\/\/bot\.seekport\.com" [NC]
RewriteRule .* - [F,L]
# Blocca il bot +https://bot.seekport.com
RewriteCond %{HTTP_USER_AGENT} "https:\/\/bot\.seekport\.com" [NC]
RewriteRule .* - [F,L]
# Blocca il bot Majestic-12 (mj12bot)
RewriteCond %{HTTP_USER_AGENT} "mj12bot" [NC]
RewriteCond %{HTTP_USER_AGENT} "http:\/\/mj12bot\.com" [NC]
RewriteRule .* - [F,L]

# Blocca il bot SEMrush con o senza il prefisso +
RewriteCond %{HTTP_USER_AGENT} "\+http:\/\/www\.semrush\.com\/bot\.html" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "http:\/\/www\.semrush\.com\/bot\.html" [NC]
RewriteRule .* - [F,L]
# Blocca tutti i bot tranne Google e Bing
RewriteCond %{HTTP_USER_AGENT} !(googlebot|bingbot|bing) [NC]
RewriteCond %{HTTP_USER_AGENT} (bot|crawler|spider|archiver|scraper|http) [NC]
RewriteRule .* - [F,L]



RewriteEngine On

# Blocca richieste contenenti "??" nella richiesta HTTP completa
RewriteCond %{THE_REQUEST} \?\? [NC,OR]

# Blocca richieste contenenti "&&"
RewriteCond %{THE_REQUEST} \&\& [NC,OR]

# Blocca richieste contenenti "?&"
RewriteCond %{THE_REQUEST} \?\& [NC]

RewriteRule ^ - [F,L]
# Blocca se %2F compare almeno 2 volte
RewriteCond %{THE_REQUEST} (?:%2[Ff]){2,} [OR]

# Blocca se %2B compare almeno 2 volte consecutive (non 1 singolo +)
RewriteCond %{THE_REQUEST} (?:%2[Bb]){2,}

RewriteRule ^ - [F,L]


# Se l'user agent è Googlebot o bingbot…
RewriteCond %{HTTP_USER_AGENT} (Googlebot|Google|bingbot|bing) [NC]
# …e la query string contiene "q="
RewriteCond %{QUERY_STRING} (^|&)q= [NC]
# Blocca la richiesta
RewriteRule .* - [F,L]

#ewriteCond %{HTTP_USER_AGENT} Googlebot
#ewriteRule .* - [R=429]

#RewriteCond %{QUERY_STRING} (^|&)q=
#RewriteRule ^ - [F,L]

#RewriteCond %{HTTP_USER_AGENT} bing
#RewriteRule .* - [R=429]

#RewriteCond %{HTTP_USER_AGENT} bingbot
#RewriteRule .* - [R=429]

# Blocca tutti i bot tranne Google e Bing
# RewriteCond %{HTTP_USER_AGENT} !(googlebot|bingbot|bing) [NC]
# RewriteCond %{HTTP_USER_AGENT} (bot|crawler|spider|archiver|scraper|http) [NC]
#RewriteRule .* - [F,L]

#Domain: www.cerchijapan.it
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]

# Images
RewriteCond %{HTTP_HOST} ^www.cerchijapan.it$
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^www.cerchijapan.it$
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]
RewriteCond %{HTTP_HOST} ^www.cerchijapan.it$
RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]
RewriteCond %{HTTP_HOST} ^www.cerchijapan.it$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]
RewriteCond %{HTTP_HOST} ^www.cerchijapan.it$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]
RewriteCond %{HTTP_HOST} ^www.cerchijapan.it$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]
RewriteCond %{HTTP_HOST} ^www.cerchijapan.it$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]
RewriteCond %{HTTP_HOST} ^www.cerchijapan.it$
RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^www.cerchijapan.it$
RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]
# AlphaImageLoader for IE and fancybox
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]

# Dispatcher
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]
</IfModule>

AddType application/vnd.ms-fontobject .eot
AddType font/ttf .ttf
AddType font/otf .otf
AddType application/font-woff .woff
AddType font/woff2 .woff2
<IfModule mod_headers.c>
	<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|svg)$">
		Header set Access-Control-Allow-Origin "*"
	</FilesMatch>

    <FilesMatch "\.pdf$">
      Header set Content-Disposition "Attachment"
      Header set X-Content-Type-Options "nosniff"
    </FilesMatch>
</IfModule>

<Files composer.lock>
    # Apache 2.2
    <IfModule !mod_authz_core.c>
        Order deny,allow
        Deny from all
    </IfModule>

    # Apache 2.4
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
</Files>
#If rewrite mod isn't enabled
ErrorDocument 404 /index.php?controller=404

# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again

Youez - 2016 - github.com/yon3zu
LinuXploit