Cobra Forum

Plesk Panel => Webserver => Topic started by: Suhitha on Jan 22, 2026, 06:03 AM

Title: How to modify HTTP response headers for website in Plesk?
Post by: Suhitha on Jan 22, 2026, 06:03 AM
Applicable to:



Question

How to modify website HTTP response headers via Apache?



Answer

Log in to Plesk and check nginx service status at Tools & Settings > Services Management.


                                    if nginx is enabled

1.Go to Domains > example.com > Apache & nginx Settings

2.In 'Common Apache settings' > Additional headers, select 'Enter custom value' and add the headers:

(http://go%20to%20domains%20>%20example.com%20>%20apache%20&%20nginx%20settings %20in%20'Common%20Apache%20settings'%20>%20Additional%20headers,%20select%20'Enter%20custom%20value'%20and%20add%20the%20headers:)


                                              if nginx is disabled



1.Navigate to Subscriptions > example.com > Apache & nginx Settings > Additional Apache directives

2.In Additional directives for HTTP and Additional directives for HTTPS,

append information to any existing header of the same name, for example:

RequestHeader append MirrorID "mirror 12"
add a new header, for example:

Header set Set-Cookie testcookie "expr=-z %{req:Cookie}"
or disable the header, for example:

RequestHeader unset MirrorID
3.Click OK to apply the changes.


Additional information

HTTP response headers are defined by the Apache module "mod_headers", which is installed with Plesk by default. For more information refer to Apache documentation.