Creating a "Host List" page is easy:
- Build a simple HTML page with your prefered tool
- You can (but need not) include a set of special tags. Welcome will
replace these tags with rows that contain informations of each virtual
host:
- A set of special tags will contain at least exact one pair of <SITES>
... </SITES>. Everything between these two tags will be repeated
for each virtual host that is allowed to be included in this page (set
the descipton field to empty if you don't want to include a virtual host).
So finally the page will contain: 1) the part before the two tages, 2)
the part between the two tags (n times) and 3) the part after the two tags.
- Inside the two tags, there can be 3 additional tags to include host
information. You don't need to use all tags, but it would be useless to
use none of them:
<SITETEXT> will be replaced with the contents of the Description
field
<SITELINK> will be replaced with the link that points to the
virtual host and that is old browsers aware
<SITEHOST> will be replaced with the contents of the Host:
field
- Save the page to any location inside the server directory tree (the
page does not need a suffix like .html)
- Repeat the step for any virtual host if you like
- Go to the virtual host list by entering [your server]/pi_admin.welcome?hosts
- Edit a host entry and add the path from the server root to your newly
created page (e.g. ":afolder:yourfile.txt" or ":newFile"
if the page is in the server root itself)
Example 1 (automatic lines by Welcome):
<HTML>
<HEAD><TITLE>Please click on a link to continue</TITLE></HEAD>
<BODY BGCOLOR=#FFFFFF>
<BLOCKQUOTE>
Hey, your browser is too old to send a referer. You still can get to your
destination by clicking on one of the hosted sites in this list:<BR><BR>
<SITES>
<SITETEXT> (<A HREF="<SITELINK>"><SITEHOST></A>)<BR>
</BLOCKQUOTE>
</BODY>
</HTML>
Example 2 (text lines):
<HTML>
<HEAD><TITLE>Please click on a link to continue</TITLE></HEAD>
<BODY BGCOLOR=#FFFFFF>
<BLOCKQUOTE>
Hey, your browser is too old to send a referer. You still can get to your
destination by clicking on one of the hosted sites in this list:<BR><BR>
<A HREF="http://welcome.comcon.de/welcome/">Pardeikes Welcome
Plugin</A><BR>
<A HREF="http://www.comcon.de/cc/">Computer Connection Server</A><BR>
<!-- more lines here -->
</BLOCKQUOTE>
</BODY>
</HTML>
|