Transparent Redirects

How to do transparent redirects if you don’t have control of the httpd.conf file (for apache servers) and can’t make symbolic links (no telnet access)? After much researching I didn’t like the answer I found at all: namely the most clumsy frame-in-the-hat trick. :(

Appearently the only way to keep a user from knowing the they are being redirected is to have the entry page be a full-page frame, which then will the desired source target. So if you want http://www.mygreaturl.com to point to http://www.mynotsogreaturl.com, you’d place the following in http://www.mygreaturl.com/index.html:

<frameset rows="*">    <frame src="http://www.mynotsogreaturl.com/"></frameset>

This is about the only way I could get this to work. But, like I said, there are numerous more elegant ways to do this if you have access to TelNet or even your httpd.conf file.

Leave a Reply