[Mono-bugs] [Bug 400825] [Patch] Add "X-Powered-By" header to response

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 24 17:50:51 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=400825

User kornelpal at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=400825#c12





--- Comment #12 from Kornél Pál <kornelpal at gmail.com>  2009-09-24 15:50:50 MDT ---
MS ASP.NET on IIS does exactly the same. X-Powered-By: ASP.NET is added to
every response (as it is configured in IIS rather than in ASP.NET).

Note that X-AspNet-Version is present to allow Visual Studio to detect version
for it's debugging, publishing and possibly other features.

X-Powered-By on the other hand is more like marketing stuff.

You should try something like this:

SetEnvIf REDIRECT_HANDLER mono SET_X_POWERED_BY=1
Header set X-Powered-By ASP.NET env=SET_X_POWERED_BY

Note that REDIRECT_HANDLER may only be set Action.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list