Skip to content

Commit

Permalink
validator
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan202 committed Apr 24, 2024
1 parent 4b675c7 commit bfda51a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
<Files ~ "payment.php|ajax.php|submit.php|paypal_login_token.php|confirm.php|notifier.php|(?i)^.*\.(jpg|jpeg|gif|png|bmp|tiff|svg|pdf|mov|mpeg|mp4|avi|mpg|wma|flv|webm|ico|webp|woff|woff2|ttf|eot|otf|css|js|map)$">
<Files ~ "about.php|payment.php|ajax.php|submit.php|paypal_login_token.php|confirm.php|notifier.php|(?i)^.*\.(jpg|jpeg|gif|png|bmp|tiff|svg|pdf|mov|mpeg|mp4|avi|mpg|wma|flv|webm|ico|webp|woff|woff2|ttf|eot|otf|css|js|map)$">
Allow from all
</Files>
</IfModule>

# Apache 2.4
<IfModule mod_authz_core.c>
Require all denied
<Files ~ "payment.php|ajax.php|submit.php|paypal_login_token.php|confirm.php|notifier.php|(?i)^.*\.(jpg|jpeg|gif|png|bmp|tiff|svg|pdf|mov|mpeg|mp4|avi|mpg|wma|flv|webm|ico|webp|woff|woff2|ttf|eot|otf|css|js|map)$">
<Files ~ "about.php|payment.php|ajax.php|submit.php|paypal_login_token.php|confirm.php|notifier.php|(?i)^.*\.(jpg|jpeg|gif|png|bmp|tiff|svg|pdf|mov|mpeg|mp4|avi|mpg|wma|flv|webm|ico|webp|woff|woff2|ttf|eot|otf|css|js|map)$">
Require all granted
</Files>
</IfModule>

0 comments on commit bfda51a

Please sign in to comment.