RewriteOptions inherit <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTPS} !=on [NC] RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/ RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] </IfModule> Options -Indexes #End Really Simple Security # Really Simple SSL Header always set Strict-Transport-Security: "max-age=31536000" env=HTTPS Header always set X-XSS-Protection "0" Header always set X-Content-Type-Options "nosniff" Header always set Referrer-Policy "strict-origin-when-cross-origin" Header always set X-Frame-Options: "SAMEORIGIN" Header always set Permissions-Policy: "" # End Really Simple SSL # 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 ### START LEARNDASH INTEGRITY ### RewriteEngine on RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?cpd.mhcollab.ca [NC] RewriteRule \.(jpg|jpeg|png|gif|avi|flv|wmv|mp4|mov|mp3)$ - [NC,F,L] ### END LEARNDASH INTEGRITY ### # SOFTACULOUS Block directory browsing Options -Indexes # SOFTACULOUS Block directory browsing End # SOFTACULOUS Block access sensitive files <FilesMatch "^.*(((?:wp-config)\.(?:php|bak|swp))|php.ini|\.[hH][tT][aApP].*|((?:error_log|readme|license|changelog|-config|-sample)\.(?:php|md|log|txt|htm|html)))$"> Require all denied </FilesMatch> # SOFTACULOUS Block access sensitive files End # SOFTACULOUS Enable bot protection RewriteEngine on RewriteCond %{HTTP_USER_AGENT} (?:virusbot|spambot|evilbot|acunetix|BLEXBot|domaincrawler\.com|LinkpadBot|MJ12bot/v|majestic12\.co\.uk|AhrefsBot|TwengaBot|SemrushBot|nikto|winhttp|Xenu\s+Link\s+Sleuth|Baiduspider|HTTrack|clshttp|harvest|extract|grab|miner|python-requests) [NC] RewriteRule ^(.*)$ http://no.access/ # SOFTACULOUS Enable bot protection End # BEGIN cPanel-generated php ini directives, do not edit # Manual editing of this file may result in unexpected behavior. # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor) # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI) <IfModule php8_module> php_flag display_errors Off php_value max_execution_time 300 php_value max_input_time 1000 php_value max_input_vars 1000 php_value memory_limit 768M php_value post_max_size 1600M php_value session.gc_maxlifetime 1440 php_value session.save_path "/var/cpanel/php/sessions/ea-php70" php_value upload_max_filesize 1600M php_flag zlib.output_compression On </IfModule> <IfModule lsapi_module> php_flag display_errors Off php_value max_execution_time 300 php_value max_input_time 1000 php_value max_input_vars 1000 php_value memory_limit 768M php_value post_max_size 1600M php_value session.gc_maxlifetime 1440 php_value session.save_path "/var/cpanel/php/sessions/ea-php70" php_value upload_max_filesize 1600M php_flag zlib.output_compression On </IfModule> # END cPanel-generated php ini directives, do not edit # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php81” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php81 .php .php8 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.tmb | Folder | 0755 |
|
|
.well-known | Folder | 0755 |
|
|
.wp-cli | Folder | 0755 |
|
|
cgi-bin | Folder | 0755 |
|
|
wp-admin | Folder | 0755 |
|
|
wp-content | Folder | 0755 |
|
|
wp-includes | Folder | 0755 |
|
|
.ftpquota | File | 17 B | 0600 |
|
.htaccess | File | 7.83 KB | 0644 |
|
.htaccess.bk | File | 3.58 KB | 0644 |
|
.user.ini | File | 581 B | 0644 |
|
.user.ini_ | File | 592 B | 0644 |
|
error_log | File | 20.85 MB | 0644 |
|
index.php | File | 405 B | 0644 |
|
license.txt | File | 19.45 KB | 0644 |
|
php.ini | File | 637 B | 0644 |
|
php.ini_ | File | 666 B | 0644 |
|
readme.html | File | 7.24 KB | 0644 |
|
wp-activate.php | File | 7.21 KB | 0644 |
|
wp-blog-header.php | File | 351 B | 0644 |
|
wp-comments-post.php | File | 2.27 KB | 0644 |
|
wp-config-sample.php | File | 3.26 KB | 0644 |
|
wp-config.php | File | 3.46 KB | 0600 |
|
wp-cron.php | File | 5.49 KB | 0644 |
|
wp-links-opml.php | File | 2.44 KB | 0644 |
|
wp-load.php | File | 3.84 KB | 0644 |
|
wp-login.php | File | 50.16 KB | 0644 |
|
wp-mail.php | File | 8.34 KB | 0644 |
|
wp-settings.php | File | 28.35 KB | 0644 |
|
wp-signup.php | File | 33.58 KB | 0644 |
|
wp-trackback.php | File | 4.98 KB | 0644 |
|
wpt-hotlinked-image-stub.png | File | 12.59 KB | 0644 |
|
xmlrpc.php | File | 3.17 KB | 0644 |
|