Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jojopa

    (@jojopa)

    I figured it out on my own, it actually was the htaccess file but not mod_rewrite.
    I did this under mod_rewrite rules –

    SetEnvIf Referer mywebsite\.com localreferer
    <FilesMatch \.(wp-content/plugins/wordpress-social-login/hybridauth/)$>
    Order deny,allow
    Deny from all
    Allow from env=localreferer
    </FilesMatch>

    Botrax

    (@botrax)

    This is not working for me. This is the end of my .htaccess

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    SetEnvIf Referer website\.com localreferer
    <FilesMatch \.(wp-content/plugins/wordpress-social-login/hybridauth/)$>
    Order deny,allow
    Deny from all
    Allow from env=localreferer
    </FilesMatch>
    </IfModule>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WSL Endpoint not reachable – but not htaccess or modsec’ is closed to new replies.