Web Server returns a valid response with junk HTTP methods

User Avatar
👤 admin
🔴 Admin
✍️ The most important thing in the world is to not be alone.
⏳ Last active: 15 Apr 2025 at 16:01
📅 Created: 14 Feb 2021 at 23:28
👀 Viewed: 38 times
✉️ Send Email

If you have checked your website for vulnerabilities and found:


code:

Web Server returns a valid response with junk HTTP methods, this may cause false positives.

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


code:

RewriteEngine On

RewriteCond %{REQUEST_METHOD} !^(GET|POST|HEAD)

RewriteRule .* - [R=405,L]

After restart apache and check againt it should make you happy 

If you want to comment: Login or Register