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 2015/02/27 22:58:04 UTC

[Bug 57646] New: SSLEngine inside If directive

https://bz.apache.org/bugzilla/show_bug.cgi?id=57646

            Bug ID: 57646
           Summary: SSLEngine inside If directive
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_ssl
          Assignee: bugs@httpd.apache.org
          Reporter: brian@minton.name

I'd like to use SSLEngine inside of an If directive.  That way, I could do
something like:
<VirtualHost *:80 *:443>
    <If "%{REQUEST_SCHEME} == 'https'">
        SSLEngine On
        SSLCertificateFile /etc/apache2/ssl/mycert.crt
        SSLCertificateKeyFile /etc/apache2/ssl/mycert.key
    </If>
    #additional per-virtual-host config here
</VirtualHost>

-- 
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 57646] SSLEngine inside If directive

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

--- Comment #2 from Brian Minton <br...@minton.name> ---
or        <If "%{SERVER_PORT} -eq 443">

-- 
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 57646] SSLEngine inside If directive

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

--- Comment #1 from Brian Minton <br...@minton.name> ---
or or course, <If "%{HTTP_HOST} == 'example.com'">

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