Support.im1.net
 
 
Customizing Web site welcome pages

/etc/virtualhosting/templates/index.html

Each new site will be created with a default welcome page (the index.html page) for Web sites. You can replace this welcome page with the new Web site's own welcome page. 

You can also customize site welcome pages in the following ways.

Place a custom welcome page on the new Web site 
Assign a custom home page to every user on a site 
Insert links to login screens for Site or User Administrators 
Inserting custom welcome pages

When you create a new Web site, WEBppliance assigns a default welcome page (index.html) to it. To replace the default page with your own welcome page, replace the index.html file in the /etc/virtualhosting/templates/ directory with your own index.html file.

Inserting links to login screens
To make logging on quick and convenient for administrators, you can add a link from your welcome page to the login screens for both the Site and User Administrators. 

To insert a link to the Site Administrator login screen:

Add the following code to the custom welcome page in /etc/virtualhosting/templates/index.html.

We replace IM1_DOMAINNAME with the domain name of the site

Access to your Site Administrator: <a href="http://IM1_DOMAINNAME/admin/">http://IM1_DOMAINNAME/admin/</a>
When you create the domain and install the custom welcome page, WEBppliance will replace IM1_DOMAINNAME with the name of the site.

To insert a link to the User Administrator login screen:

Add the following code to the custom welcome page in /etc/virtualhosting/templates/index.html.

Access to your User Administrator: <a href="http://IM1_DOMAINNAME/user/">http://IM1_DOMAINNAME/admin/</a>
When you create the domain and install the custom welcome page, WEBppliance will replace IM1_DOMAINNAME with the name of the site.

Assigning custom home pages to users
When you create a new Web site, WEBppliance assigns a default home page (index.html) for users on the site. This home page is in the directory:

/home/virtual/<domain owner>/etc/skel/public_html/
where domain owner is the Site Administrator's user name.

To replace the default page with your own home page, replace the index.html file in this directory with your own index.html file.

The most efficient way to assign a custom home page to each user is to create a script that replaces the default index.html file in the directory 
/home/virtual/<domain_owner>/etc/skel/public_html with your custom index.html file.

 
© copyright - 1996-2002 - im1.com             home   |   FAQ   |   search   |   dialup   |   hosting   |   contact