HEX
Server: Apache
System: Linux webd011.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: ezpgggd (105871)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/ezpgggd/www-old/.htaccess
<IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteCond %{REQUEST_URI} ^/?\.user\.ini$
        RewriteRule .* - [F,L,NC]
</IfModule>
<IfModule !mod_rewrite.c>
	<Files ".user.ini">
	<IfModule mod_authz_core.c>
		Require all denied
	</IfModule>
	<IfModule !mod_authz_core.c>
		Order deny,allow
		Deny from all
	</IfModule>
	</Files>
</IfModule>



# BEGIN LSCACHE
# END LSCACHE
# BEGIN NON_LSCACHE
# END NON_LSCACHE

# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
# BEGIN WP Cloudflare Super Page Cache
# The directives (lines) between "BEGIN WP Cloudflare Super Page Cache" and "END WP Cloudflare Super Page Cache" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
# END WP Cloudflare Super Page Cache

redirect 301 /spare-parts/ https://www.mansuetomarine.it/engine-room/
redirect 301 /interiors/cms-captain-marine-store/ https://www.mansuetomarine.it/interiors/shops/
redirect 301 /cms-captain-marine-store https://www.mansuetomarine.it/interiors/shops/
redirect 301 /yacht-welfare https://www.mansuetomarine.it/interiors/fiscal-service/
redirect 301 /interiors/yacht-welfare/ https://www.mansuetomarine.it/interiors/fiscal-service/
redirect 301 /food-catalogue/hygiene-catalogue-cloned-1741/ https://www.mansuetomarine.it/food-catalogue/hygiene-catalogue
# BEGIN SMUSH-WEBP
# The directives (lines) between "BEGIN SMUSH-WEBP" and "END SMUSH-WEBP" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteCond %{DOCUMENT_ROOT}/wp-content/smush-webp/disable_smush_webp !-f
 RewriteCond %{HTTP_ACCEPT} image/webp
 RewriteCond %{DOCUMENT_ROOT}/wp-content/smush-webp/$1.webp -f
 RewriteRule wp-content/uploads/(.*\.(?:png|jpe?g))$ wp-content/smush-webp/$1.webp [NC,T=image/webp]
</IfModule>

<IfModule mod_headers.c>
 Header append Vary Accept env=WEBP_image
</IfModule>

<IfModule mod_mime.c>
 AddType image/webp .webp
</IfModule>
# END SMUSH-WEBP
# BEGIN WP-HUMMINGBIRD-CACHING
# The directives (lines) between "BEGIN WP-HUMMINGBIRD-CACHING" and "END WP-HUMMINGBIRD-CACHING" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A0

<FilesMatch "\.(txt|xml|js)$">
ExpiresDefault A31536000
</FilesMatch>

<FilesMatch "\.(css)$">
ExpiresDefault A31536000
</FilesMatch>

<FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|woff2|svg)$">
ExpiresDefault A31536000
</FilesMatch>

<FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$">
ExpiresDefault A31536000
</FilesMatch>
</IfModule>

<IfModule mod_headers.c>
  <FilesMatch "\.(txt|xml|js)$">
   Header set Cache-Control "max-age=31536000"
  </FilesMatch>

  <FilesMatch "\.(css)$">
   Header set Cache-Control "max-age=31536000"
  </FilesMatch>

  <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|woff2|svg)$">
   Header set Cache-Control "max-age=31536000"
  </FilesMatch>

  <FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$">
   Header set Cache-Control "max-age=31536000"
  </FilesMatch>
</IfModule>
# END WP-HUMMINGBIRD-CACHING

<IfModule mod_headers.c>
  <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$">
    Header set Access-Control-Allow-Origin "*"
  </FilesMatch>
</IfModule>

# Wordfence WAF
<Files ".user.ini">
<IfModule mod_authz_core.c>
	Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
	Order deny,allow
	Deny from all
</IfModule>
</Files>

# END Wordfence WAF

# SetEnvIfNoCase Request_URI ^/bacheca/ $ SECURED=yes

# AuthType Basic 
# AuthName "restricted access" 
# AuthUserFile /homez.1022/ezpgggd/.htpasswd 
# Require valid-user 
# Satisfy any 
# Order allow,deny 
# Allow from all
# Deny from env=SECURED

# SetEnvIf Request_URI ^/downloads-2/? $ SECURED2=yes

# AuthType Basic
# AuthName "Restricted Access"
# AuthUserFile /homez.1022/ezpgggd/.download-htpasswd
# Require valid-user

# Satisfy any
# Order allow,deny
# Allow from all
# Deny from env=SECURED2

<If "%{REQUEST_URI} =~ m#^/bacheca/?#i">
 SetEnvIfNoCase Request_URI ^/bacheca/ $ SECURED=yes
 AuthType Basic 
 AuthName "bacheca section" 
 AuthUserFile /homez.1022/ezpgggd/.htpasswd
 Require valid-user 
 Satisfy any 
 Order allow,deny 
 Allow from all
 Deny from env=SECURED
</If>


# <If "%{REQUEST_URI} =~ m#^/downloads-2/?#i">
#  SetEnvIf Request_URI ^/downloads-2/? $ SECURED2=yes

#  AuthType Basic
#  AuthName "donwloads section"
#  AuthUserFile /homez.1022/ezpgggd/.download-htpasswd
#  Require valid-user

#  Satisfy any
#  Order allow,deny
#  Allow from all
#  Deny from env=SECURED2

# </If>