Quantcast
Channel: BulletProof Security Forum » All Posts
Viewing all articles
Browse latest Browse all 12461

Reply To: Woocommerce products listing ajax or jquery block add to card

$
0
0

Hello, thanks for analysis and advice. I went according to the instructions turned off Root Folder BulletProof Mode Deactivate wp-admin Folder BulletProof Mode and custom code I have two codes. One which authorizes http head and the other to permit the pdf catalog in iframe plugin pdf viewer – jupdf pdf viewer. Even after deactivation does not add to the cart and the woocommerce ajax obviously still something blocks. Here is the content of my custom code:

These custom codes allow HTTP head and iframe pdf viewer. Nothing more. WP admin custom note is empty. I use the free version of BPS. The problem persists, woocommerce ajax is enabled in the settings woocommerce

CUSTOM CODE REQUEST FILTERED METHODS: Whitelist User Agents or remove HEAD here

REQUEST # METHODS FILTERED
# If you want to allow HEAD Requests use BPS Custom Code and
# Remove / delete HEAD | Request Method from the filter.
# Example: RewriteCond% {} ^ REQUEST_METHOD (TRACE | Delete | TRACK | debug) [NC]
# The TRACE, DELETE, TRACK and DEBUG Request methods should never be removed.
RewriteCond% {} ^ REQUEST_METHOD (TRACE | Delete | TRACK | debug) [NC]
RewriteRule ^ (. *) $ - [F]

CUSTOM CODE TIMTHUMB FORBID RFI and MISC FILE SKIP / BYPASS RULE:
# TIMTHUMB FORBID RFI and MISC FILE SKIP/BYPASS RULE
# Use BPS Custom Code to modify/edit/change this code and to save it permanently.
# Remote File Inclusion (RFI) security rules
# Note: Only whitelist your additional domains or files if needed - do not whitelist hacker domains or files
RewriteCond %{QUERY_STRING} ^.*(http|https|ftp)(%3A|:)(%2F|/)(%2F|/)(w){0,3}.?(blogger|picasa|blogspot|tsunami|petapolitik|photobucket|imgur|imageshack|wordpress\.com|img\.youtube|tinypic\.com|upload\.wikimedia|kkc|start-thegame).*$ [NC,OR]
RewriteCond %{THE_REQUEST} ^.*(http|https|ftp)(%3A|:)(%2F|/)(%2F|/)(w){0,3}.?(blogger|picasa|blogspot|tsunami|petapolitik|photobucket|imgur|imageshack|wordpress\.com|img\.youtube|tinypic\.com|upload\.wikimedia|kkc|start-thegame).*$ [NC]
RewriteRule .* index.php [F]
#
# Example: Whitelist additional misc files: (example\.php|another-file\.php|phpthumb\.php|thumb\.php|thumbs\.php)
RewriteCond %{REQUEST_URI} (jupdf/index\.html|timthumb\.php|phpthumb\.php|thumb\.php|thumbs\.php) [NC]
# Example: Whitelist additional website domains: RewriteCond %{HTTP_REFERER} ^.*(YourWebsite.com|AnotherWebsite.com).*
RewriteCond %{HTTP_REFERER} ^.*vitaminbottle.*
RewriteRule . - [S=1]
  • This reply was modified 1 day, 21 hours ago by  AITpro Admin.

Viewing all articles
Browse latest Browse all 12461

Trending Articles