Files
szkoleniauryzaj.pl/.htaccess
2026-04-26 23:47:49 +02:00

53 lines
1.5 KiB
ApacheConf

# BEGIN WP Hide & Security Enhancer
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
#WriteCheckString:1710246068_11934
RewriteRule ^rewrite_test_1710246068_11934/? /wp-content/plugins/wp-hide-security-enhancer/include/rewrite-confirm.php [L,QSA]
RewriteRule ^rewrite_test_static_file_1710246068_11934/? /wp-content/plugins/wp-hide-security-enhancer/composer.json [L,QSA]
</IfModule>
# END WP Hide & Security Enhancer
AddHandler application/x-httpd-php80 php
php_value memory_limit 256M
#This Apache config file was created by Duplicator Installer on 2021-06-20 15:34:55.
#The original can be found in archived file with the name htaccess.orig
# BEGIN WordPress
# Dyrektywy zawarte między "BEGIN WordPress" oraz "END WordPress"
# są generowane dynamicznie i powinny być modyfikowane tylko za pomocą
# filtrów WordPressa. Zmiany dokonane bezpośrednio tutaj będą nadpisywane.
<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
#AuthGroupFile /dev/null
#AuthType Basic
#AuthUserFile /home/garbary/domains/szkoleniauryzaj.pl/public_html/.htpasswd_blokada
#AuthName "ochrona dostepu"
#require valid-user
# 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