405 HEAD Request – Image 405 error

Home Forums BulletProof Security Pro 405 HEAD Request – Image 405 error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29465
    Mohammed B Mustapha
    Participant

    Allowing certain websites access. how do you allow certain websites access to banner Urls they cause security problems on plugin. here is one of the logs.

    [405 HEAD Request: April 15, 2016 4:15 pm]
    Event Code: BFHS-HEAD - HEAD Request Blocked
    Solution: http://forum.ait-pro.com/forums/topic/security-log-event-codes/
    REMOTE_ADDR: 23.235.209.100
    Host Name: biz179.inmotionhosting.com
    SERVER_PROTOCOL: HTTP/1.0
    HTTP_CLIENT_IP:
    HTTP_FORWARDED:
    HTTP_X_FORWARDED_FOR:
    HTTP_X_CLUSTER_CLIENT_IP:
    REQUEST_METHOD: HEAD
    HTTP_REFERER:
    REQUEST_URI: /wp-content/uploads/2016/04/Together-we-are-beautiful.gif
    QUERY_STRING:
    HTTP_USER_AGENT: WordPress/4.5; http://lovequotesanimated.com
    #29467
    AITpro Admin
    Keymaster

    The error is a 405 HEAD Request error, which means a HEAD Request was made to this image file:  /wp-content/uploads/2016/04/Together-we-are-beautiful.gif.  To allow HEAD Requests on your website do the steps below.

    1. Copy the REQUEST METHODS FILTERED .htaccess code below to the BPS Root Custom Code text box:  CUSTOM CODE REQUEST METHODS FILTERED
    2. Click the Save Root Custom Code button.
    3. Go to the BPS Security Modes page and click the Root Folder BulletProof Mode Activate button.

    # REQUEST METHODS FILTERED
    # If you want to allow HEAD Requests use BPS Custom Code and copy
    # this entire REQUEST METHODS FILTERED section of code to this BPS Custom Code
    # text box: CUSTOM CODE REQUEST METHODS FILTERED.
    # See the CUSTOM CODE REQUEST METHODS FILTERED help text for additional steps.
    RewriteCond %{REQUEST_METHOD} ^(TRACE|DELETE|TRACK|DEBUG) [NC]
    RewriteRule ^(.*)$ - [F]
    #RewriteCond %{REQUEST_METHOD} ^(HEAD) [NC]
    #RewriteRule ^(.*)$ /wp-content/plugins/bulletproof-security/405.php [L]
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.