title: url redirection from http to https in IBM Web server
body: <p>I have installed SSL certificates in my WAS 7.0 and pointed to IBM Http Server under httd.conf file. I have implemented the below rewrite mechanism also.But still unable to redirect from http request to https for specific context root applications.</p>
  
  <p>Please suggest me. </p>
  
  <p>implemented below lines under httpd.conf file.</p>
  
  <pre><code>LoadModule rewrite_module modules/mod_rewrite.so
  LoadModule ibm_ssl_module modules/mod_ibm_ssl.so
  &lt;IfModule mod_ibm_ssl.c&gt;
  Listen 443
  &lt;VirtualHost *:443&gt;
  SSLEnable
  SSLProtocolDisable SSLv2
  ErrorLog logs/error_log
  CustomLog logs/access_log common
  RewriteEngine On
  RewriteOptions Inherit
  &lt;/VirtualHost&gt;
  &lt;/IfModule&gt;
  KeyFile "/IBM/HTTPServer/testSSL/testkey.kdb"
  SSLStashFile "/IBM/HTTPServer/testSSL/testkey.sth"
  RewriteEngine on
  RewriteRule ^/testPOC/(.*)$ https://localhost/testPOC/$1
  </code></pre>