Apahce Redirect
existing template in expertus one
<VirtualHost 192.168.7.96:80>
ServerName eaqa.exphosted.com:80
DocumentRoot "/expertusone/eaqa/apache2/htdocs/ExpertusONE"
Redirect permanent / https://eaqa.exphosted.com
RewriteEngine On
RewriteRule ^/services/(.*)$ /sites/all/services/LnrService.php?soapaction=$1 [L]
RewriteRule ^/services/(.*)?WSDL$ /sites/all/services/LnrService.php?soapaction=$1&showWSDL=true [L]
<Directory "/expertusone/eaqa/apache2/htdocs/ExpertusONE">
DirectoryIndex index.php
Options -Indexes FollowSymLinks ExecCGI Multiviews
Allowoverride None
Im going to add httpd.conf in learnexa server
RewriteEngine on
RewriteCond %{HTTP_HOST} ^learnexa\.com
RewriteRule ^(.*)$ http://www.learnexa.com/$1 [R=permanent,L]