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 2012/06/01 21:29:39 UTC

[Bug 53349] New: CONTENT_TYPE erroneously seen as empty string for

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

          Priority: P2
            Bug ID: 53349
          Assignee: bugs@httpd.apache.org
           Summary: CONTENT_TYPE erroneously seen as empty string for <if>
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Reporter: petterb@gmail.com
          Hardware: PC
            Status: NEW
           Version: 2.5-HEAD
         Component: Core
           Product: Apache httpd-2

Reverse proxy on httpd 2.4.2

On the client i see the header "Content-Type" with value.

However, the only <if> i get to work is:
<if "-z %{CONTENT_TYPE}"> # ("-z" is empty string)

And as expected then, "-n" (not-empty string) does not work. (Neither does any
regex i tried).

-- 
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


[Bug 53349] CONTENT_TYPE erroneously seen as empty string for

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

Stefan Fritsch <sf...@sfritsch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Core                        |Documentation

--- Comment #1 from Stefan Fritsch <sf...@sfritsch.de> ---
<If > is evaluated before CONTENT_TYPE is set. There is a small note about this
at
http://httpd.apache.org/docs/2.4/expr.html#vars , but it could certainly be
clearer. Re-assigning to Documentation.

-- 
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