ASF Bugzilla – Attachment 12327 Details for
Bug 30464
SSL_ variables from mod_ssl not available for RewriteCond tests in mod_rewrite
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Solution proposal patch
httpd_rewrite-2.0.50.diff (text/plain), 906 bytes, created by
Rüdiger Plüm
on 2004-08-04 13:09:03 UTC
(
hide
)
Description:
Solution proposal patch
Filename:
MIME Type:
Creator:
Rüdiger Plüm
Created:
2004-08-04 13:09:03 UTC
Size:
906 bytes
patch
obsolete
>--- httpd-2.0.50/modules/mappers/mod_rewrite.c.orig 2004-06-11 23:05:22.000000000 +0200 >+++ httpd-2.0.50/modules/mappers/mod_rewrite.c 2004-08-04 11:39:34.000000000 +0200 >@@ -72,6 +72,7 @@ > #include "http_log.h" > #include "http_protocol.h" > #include "mod_rewrite.h" >+#include "../ssl/mod_ssl.h" > > #if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE) > #include "unixd.h" >@@ -3875,6 +3876,16 @@ > result = getenv(var+4); > } > } >+ /* Get SSL specific variables */ >+ else if (strlen(var) > 4 && strncasecmp(var, "SSL:", 4) == 0) { >+ APR_OPTIONAL_FN_TYPE(ssl_var_lookup) *ssl_var_lookup_p; >+ >+ ssl_var_lookup_p = APR_RETRIEVE_OPTIONAL_FN(ssl_var_lookup); >+ if (ssl_var_lookup_p) { >+ result = ssl_var_lookup_p(r->pool,r->server,r->connection,r,var+4); >+ } >+ } >+ > > #define LOOKAHEAD(subrecfunc) \ > if ( \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 30464
: 12327 |
12515