Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Web Server » How to Disable HTTP TRACE Method for Apache, IIS, sunOne, and Lotus Domino
  • IIS
    How to Change the Log File Directory location in IIS Web Server
  • download
    Remove Packages from a Linux: Quick Guide Linux
  • image 54
    How to enable Amazon S3 default bucket encryption using S3 Console AWS/Azure/OpenShift
  • active directory faq 2016 1
    How to detect who disabled a user in Active Directory Windows Server
  • image 1
    How to Enable the End Task Option on Windows 11 Taskbar Windows
  • Harica cert request and CSR
    Generate CSR and Request a Certificate from Herica CA Windows
  • a3a5a8be58fa09468cd4f70d36869e98
    Restore AD Objects: How to restore deleted user accounts in Active Directory with Microsoft LDP and PowerShell Windows Server
  • nodee
    How to install Cypress on Windows and perform Automation Windows

How to Disable HTTP TRACE Method for Apache, IIS, sunOne, and Lotus Domino

Posted on 03/11/202009/09/2023 Christian By Christian No Comments on How to Disable HTTP TRACE Method for Apache, IIS, sunOne, and Lotus Domino
Disable HTTP TRACE Method

The HTTP TRACE method is normally used to return the full HTTP request back to the requesting client for proxy-debugging purposes. An attacker can create a webpage using XMLHTTP, ActiveX, or XMLDOM to cause a client to issue a TRACE request and capture the client’s cookies. This effectively results in a Cross-Site Scripting attack. In this post, I will be explaining how to disable HTTP trace method for Apache, IIS, SunOne, and Lotus Domino.

Kindly refer to some of these interesting guides: How to install and configure FTP server on Windows 10, Event ID 5059: Application pool has been disabled or Changing identity user for IIS Application Pool, and how to Disable HTTP TRACE Method for Apache, IIS, sunOne, and Lotus Domino. These steps were tested on Windows Server 2019, and 2022. Please refer to the guide on how to resolve this concern: Warning: FTP over TLS is not enabled, users cannot securely log in: You appear to be behind a NAT Router, please configure the passive mode settings and forward a range of ports in your router.

Disable HTTP TRACE Method for Apache
Newer versions of Apache (1.3.34 and 2.0.55 and later) provide a configuration directive called TraceEnable. 

Consequently, To deny TRACE requests, add the following line to the server configuration:
TraceEnable off

Furthermore, For older versions of the Apache webserver, use the mod_rewrite module to deny the TRACE requests:
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]

Disable HTTP TRACE Method for Microsoft IIS
Nonetheless, For Microsoft Internet Information Services (IIS), you may use the URLScan tool, freely available at this link.

Disable HTTP TRACE Method for SunONE/iPlanet
However, For Sun ONE/iPlanet Web Server v6.0 SP2 and later, add the following configuration to the top of the default object in the ‘obj.conf’ file:

< Client method="TRACE" >
AuthTrans fn="set-variable"
remove-headers="transfer-encoding"
set-headers="content-length: -1"
error="501"
< /Client >

Disable HTTP TRACE Method for Domino
In addition, Follow IBM’s instructions for disabling HTTP methods on the Domino server by adding the following line to the server’s NOTES.INI file:
HTTPDisableMethods=TRACE
After saving NOTES.INI, restart the Notes web server by issuing the console command "tell http restart"

Moreover, Following the steps above should help, and it should not be captured during penetration testing on your servers.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Web Server Tags:IIS

Post navigation

Previous Post: User account and process management in Linux
Next Post: The logon attempt failed for the remote desktop connection

Related Posts

  • Installing Jenkins
    How to Install and Configure Jenkins on Windows 11 Configuration Management Tool
  • Uninstall Wampserver
    How to uninstall WAMPServer from Windows Web Server
  • Capture 91
    How to install IIS Web Server on Windows Server Web Server
  • Cloud Cost
    How to Control Cloud Cost Using Azure VM AWS/Azure/OpenShift
  • Azure DevOps Server
    How to Install Azure DevOps Server 2022 Automation
  • apache ubuntu 20 04
    How to Install Apache HTTP Server on Ubuntu 20.04 LTS Linux

More Related Articles

Installing Jenkins How to Install and Configure Jenkins on Windows 11 Configuration Management Tool
Uninstall Wampserver How to uninstall WAMPServer from Windows Web Server
Capture 91 How to install IIS Web Server on Windows Server Web Server
Cloud Cost How to Control Cloud Cost Using Azure VM AWS/Azure/OpenShift
Azure DevOps Server How to Install Azure DevOps Server 2022 Automation
apache ubuntu 20 04 How to Install Apache HTTP Server on Ubuntu 20.04 LTS Linux

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • IIS
    How to Change the Log File Directory location in IIS Web Server
  • download
    Remove Packages from a Linux: Quick Guide Linux
  • image 54
    How to enable Amazon S3 default bucket encryption using S3 Console AWS/Azure/OpenShift
  • active directory faq 2016 1
    How to detect who disabled a user in Active Directory Windows Server
  • image 1
    How to Enable the End Task Option on Windows 11 Taskbar Windows
  • Harica cert request and CSR
    Generate CSR and Request a Certificate from Herica CA Windows
  • a3a5a8be58fa09468cd4f70d36869e98
    Restore AD Objects: How to restore deleted user accounts in Active Directory with Microsoft LDP and PowerShell Windows Server
  • nodee
    How to install Cypress on Windows and perform Automation Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,836 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.