Bug 120096
| Summary: | mod_ssl environment variables not available in mod_rewrite rules | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 3 | Reporter: | Dustin Mollo <mollo> | ||||||
| Component: | httpd | Assignee: | Joe Orton <jorton> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | |||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 3.0 | CC: | eric.eisenhart | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | i686 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2004-08-18 03:09:46 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 116727 | ||||||||
| Attachments: |
|
||||||||
|
Description
Dustin Mollo
2004-04-05 22:47:12 UTC
Created attachment 99127 [details]
patch for httpd.conf
Created attachment 99128 [details]
patch for ssl.conf
Thanks for the report. The configuration which does currently work is:
RewriteCond %{LA-U:ENV:HTTPS} !=on
For a future update we are planning to restore support for %{HTTPS}
and add support for the new fast %{SSL:...} variable lookup.
As above, for the next mod_rewrite has been extended to support:
RewriteCond %{SSL:...} ...
for direct SSL variable lookup, along with restored support for
%{HTTPS}. "SSLOptions +StdEnvVars" is not required for these
expansions to work.
Test packages are available at:
http://people.redhat.com/jorton/Taroon-httpd/
Fix confirmed with httpd-2.0.46-32.ent. Closing out. An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2004-349.html |