View Single Post
  #1  
Old 12th October 2010, 09:33
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts
Smile New feature request: Frame redirect funtion for ISPConfig3

For clients, I would like to have the redirect function "Frame redirect" in ISPConfig3.
With a frame redirect it is possible to point to another location on the Internet, while the Internet adsress in the browser does not change.
It is a simple and for clients easy to understand ay to realise this without knowledge of DNS.

Example: the client has a website on the ISPConfig3 server (www.source-domain.tld) and wants to redirect to https://sites.google.com/site/sitename/ without changing www.source-domain.tld in the browser.
This frame redirect can be realised by putting the the following index.html file in the directory "web"of the site on your ISPConfig3 server:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"DTD/xhtml1-frameset.dtd">
<html>
<head>
<title>
</title>		</head>
<frameset rows="*,0">
<frame src="https://sites.google.com/site/sitename/" name="Your main frame"
marginwidth="0" marginheight="0" frameborder="0"
noresize="noresize"/>
<noframes>
<body>Your browser does not support frames. Please click <a
href='http://www.source-domain.tld'>here</a>.</body>
</noframes>
</frameset>
</html>

Within ISPConfig3, under the "Website" function, it would be a nice place for the function "Frame redirect".
It could work like this:
Click on "Frame redirect"
Then the client selects the website from the website list which he wants to redirect and gives a destination address in a field.
A warning appears, which says that any existing index.html in de webfolder of the chosen website will be overwritten with a new index.html file, containing the frame redirect.
Then ISPConfig3 generates the code above within the web folder of the chosen website.

Something like that.

I think it's a nice idea, what do you tnink?
__________________
Hans

MrHostman | Managed Hosting
Reply With Quote
Sponsored Links