Wednesday, June 13, 2012

Configuring redirection in OHS from http to https

In order to redirect the http requests coming to OHS to https , we can make following changes in httpd.conf file::

NameVirtualHost *:80
<VirtualHost *:80>
 ServerName "host name of the server sending the request"
 SeverAdmin your@Address
 RewriteEngine on
 RewriteOptions inherit
 Redirect permanent / https://"host name of the server":443
</VirtualHost>


No comments:

Post a Comment