Tuesday, June 10, 2014

Domain Forwarding - frame forwarding and normal redirect

Normal Redirect

open httpd.conf file and edit following lines.
             AllowOverride none to AllowOverride All

add below content to .htaccess in documentroot

RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.activetest.com$
RewriteRule ^(.*)$ http://www.yahoo.com/$1 [R=301]

Frame Forwarding

Add below line to html header of index.html file

<frameset cols = "100%">
<frame src ="http://www.google.com" />
</frameset>

No comments:

Post a Comment