403Webshell
Server IP : 80.211.21.168  /  Your IP : 216.73.217.143
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/cerchiracing.it/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/cerchijapan.it/cerchiracing.it/.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


#Domain: www.cerchiracing.it
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
 # 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]
	
	
	# 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 +https://bing.com/bingbot.html
    RewriteCond %{HTTP_USER_AGENT} "\+http:\/\/www\.bing\.com\/bingbot\.htm" [NC]
    RewriteRule .* - [F,L]

    # Blocca il bot https://bing.com/bingbot.html
    RewriteCond %{HTTP_USER_AGENT} "http:\/\/www\.bing\.com\/bingbot\.htm" [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]

    # 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]
# Images
RewriteCond %{HTTP_HOST} ^www.cerchiracing.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.cerchiracing.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.cerchiracing.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.cerchiracing.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.cerchiracing.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.cerchiracing.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.cerchiracing.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.cerchiracing.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.cerchiracing.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