You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/10/12 19:12:56 UTC

DO NOT REPLY [Bug 45993] New: Pass protocol type as extra header to HTTP server

https://issues.apache.org/bugzilla/show_bug.cgi?id=45993

           Summary: Pass protocol type as extra header to HTTP server
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: andrejohn.mas@gmail.com


I have a Tomcat server sitting behind an Apache httpd server, connected by
means of as ProxyPass. In this configuration I see no means for the Tomcat
server to know if the the connection to the Apache httpd server was by HTTP or
HTTPS.

It would be useful to have an extra header to know what protocol was used to
access the httpd server. For example:

x-protocol: https

x-protocol: http

My current need is to be able to establish whether the cookies sent to the
server were sent using an encrypted connection or not. This would allow me to
be able to flag any instances where an HTTPS cookie was being sent in an
unencrypted HTTP session.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45993] Pass protocol type as extra header to HTTP server

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45993


Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #1 from Ruediger Pluem <rp...@apache.org>  2008-10-12 13:23:05 PST ---
You can already do this with mod_headers
(http://httpd.apache.org/docs/2.2/en/mod/mod_headers.html#requestheader). No
need to duplicate things here.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org