Samx Here
n1udSecurity


Server : Apache
System : Linux webd348.cluster026.gra.hosting.ovh.net 5.15.148-ovh-vps-grsec-zfs-classid #1 SMP Thu Feb 8 09:41:04 UTC 2024 x86_64
User : hednacluml ( 122243)
PHP Version : 8.3.9
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
Directory :  /home/hednacluml/ancestro/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/hednacluml/ancestro/.htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /


################ https ######################

RewriteCond %{HTTPS} =off
RewriteCond %{REQUEST_URI} !/ancestroupdate/
RewriteCond %{REQUEST_URI} !/ancestroinstall/
RewriteCond %{REQUEST_URI} !/ancestroupdate/?(.*)
RewriteCond %{REQUEST_URI} !/ancestroinstall/?(.*)
RewriteCond %{REQUEST_URI} (/|/index.php$)
RewriteRule  ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

# Force HTTPS for /index.php
# RewriteCond %{HTTPS} =off
# RewriteCond %{THE_REQUEST} ^[A-Z]+\s/index.php$
# RewriteRule  ^(index.php)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

# BlackList
RewriteCond %{HTTP_REFERER} ^(.*)(<|>|'|%0A|%0D|%27|%3C|%3E|%00).* [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)?sexy(-|.).*$  [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)?teen(-|.).*$  [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)?girls(-|.).*$  [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?.webmeup.com  [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)?xxx(-|.).*$  [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)?porn(-|.).*$  [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)?adult(-|.).*$  [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)?poker(-|.).*$  [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)?drugs(-|.).*$  [NC]
RewriteRule ^(.*)$ - [F,L]

</IfModule>

# END WordPress

SAMX