SSL offloading problem <load-balancer(ssl)>---<Apache-2.0.59(non-ssl)>---<tomcat>

SSL offloading problem <load-balancer(ssl)>---<Apache-2.0.59(non-ssl)>---<tomcat>

am 23.04.2008 04:15:47 von Subbu kattamuri

------=_Part_627_31960672.1208916947954
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

SSL is terminated on the load balancer and apache HTTP 2.0.59 is running
http only and not https. Application (running on tomcat), perhaps due to the
use of absolute URLs when writing HTML, is not letting the content in
general to work properly. We have mixed protocol references (https and http)
due to the content. So would like to configure in apache's
httpd.conf something that spoofs https for the application. Something on the
lines of Oracle's mod_certheaders.so.

LoadModule certheaders_module modules/mod_certheaders.so
SimulateHttps on (inside the virtual host)

Have tried mod_certheaders.so but apache fails to start saying:
Cannot load /modules/mod_certheaders.so into server:
/modules/mod_certheaders.so: undefined symbol: ap_ctx_set
---
$ file mod_version.so mod_version.so: writable, executable, regular file, no
read permission
$ file mod_certheaders.so mod_certheaders.so: ELF 32-bit LSB shared object,
Intel 80386, version 1 (SYSV), not stripped
---

Can some one please give me pointers on how to accomplish this?

---
(Reference:
http://www.dannorris.com/2007/11/01/using-mod_rewrite-to-rew rite-oc4j-served-urls-a-complete-review/
)
(Reference:
http://www.netscalerkb.com/netscaler_tricks_and_guides/howto _rewrite_html_body_urls_to_avoid_absolute_protocol_reference s-t218.0.html
)

---

Thanks!

------=_Part_627_31960672.1208916947954
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,


SSL is terminated on the load balancer and apache HTTP 2.0.59 is running http only and not https. Application (running on tomcat), perhaps due to the use of absolute URLs when writing HTML, is not letting the content in general to work properly. We have mixed protocol references (https and http) due to the content. So would like to configure in apache's httpd.conf something that spoofs https for the application. Something on the lines of Oracle's mod_certheaders.so.



LoadModule certheaders_module modules/mod_certheaders.so
SimulateHttps on (inside the virtual host)


Have tried mod_certheaders.so but apache fails to start saying:
Cannot load <apache_home>/modules/mod_certheaders.so into server: <apache_home>/modules/mod_certheaders.so: undefined symbol: ap_ctx_set

---
$ file mod_version.so mod_version.so: writable, executable, regular file, no read permission
$ file mod_certheaders.so mod_certheaders.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped

---


Can some one please give me pointers on how to accomplish this?


---
(Reference: )

(Reference: )



---


Thanks!



------=_Part_627_31960672.1208916947954--