Spread the love

If you have checked your website for vulnerabilities and found:

Web Server returns a valid response with junk HTTP methods, this may cause false positives.
Code language: JavaScript (javascript)

You can go and edit your httpd.conf file and add to your vhosts this lines:

RewriteEngine On RewriteCond %{REQUEST_METHOD} !^(GET|POST|HEAD) RewriteRule .* - [R=405,L]

After restart apache and check againt it should make you happy 

Facebook Comments Box